[Th] freshclam.log

Stacho Pal stacho w venco.com.pl
Pon, 21 Wrz 2009, 11:18:15 CEST


On Thu, 17 Sep 2009, Krystian Tomczyk wrote:
> Dnia 2009-09-17, czw o godzinie 11:18 +0200, Stacho Pal pisze:
>> Mój clamd jest z "paczki", konfig nie ruszany i chodzi jako clamav.
> Też tak mam i też freshclam.log pusty ale pod wpływem twojego maila
> zerknąłem na /etc/freshclam.conf i tamjest takie coś [fragmenty]:
>
> ## Example config file for freshclam
> ## Please read the freshclam.conf(5) manual before editing this file.
> ##
> ## PLD NOTE: Note that freshclam is called periodically via cron
> ## Check /etc/sysconfig/clamd for details
>
> # Comment or remove the line below.
>
> # Path to the log file (make sure it has proper permissions)
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> # Default: disabled
> #UpdateLogFile /var/log/freshclam.log
>
> # Use system logger (can work together with UpdateLogFile).
> # Default: no
> LogSyslog yes
> ^^^^^^^^^^^^^
>
> # Specify the type of syslog messages - please refer to 'man syslog'
> # for facility names.
> # Default: LOG_LOCAL6
> #LogFacility LOG_MAIL
>
> Masz u siebie sysloga, bo ja nie... i uprawnień w odróżnieniu od ciebie
> nie sprawdziłem (ważniejsze dla mnie było, że działa...)

Mam sysloga i u mnie logowanie nie działa.
IMHO albo zmienić prawa na plik jak pisałem i logowanie działa,
albo nie zmieniać praw i w freshclam.conf ustawić tak:
=======================
UpdateLogFile /var/log/freshclam.log
LogSyslog no
======================
wtedy logowanie też działa.

-- 
pzdr
Stacho Pal


Więcej informacji o liście dyskusyjnej pld-devel-pl