redhat 7.2
Cron почемуто пишет свой лог в два места одновремено
/var/log/cron
/var/log/messagesв /etc/syslog.conf
cron.* /var/log/cronПомогите?
С Уважением Дмитрий!
>redhat 7.2
>Cron почемуто пишет свой лог в два места одновремено
>/var/log/cron
>/var/log/messages
>
>в /etc/syslog.conf
>cron.* /var/log/cron
>
>Помогите?
>С Уважением Дмитрий!покажи весь /etc/syslog.conf
целиком?
>>redhat 7.2
>>Cron почемуто пишет свой лог в два места одновремено
>>/var/log/cron
>>/var/log/messages
>>
>>в /etc/syslog.conf
>>cron.* /var/log/cron
>>
>>Помогите?
>>С Уважением Дмитрий!
>
>покажи весь /etc/syslog.conf
>целиком?
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none /var/log/messages# The authpriv file has restricted access.
authpriv.* /var/log/secure# Log all the mail messages in one place.
mail.* /var/log/maillog
# Log cron stuff
cron.* /var/log/cron# Everybody gets emergency messages, plus log them on another
# machine.
*.emerg *# Save mail and news errors of level err and higher in a
# special file.
uucp,news.crit /var/log/spooler# Save boot messages also to boot.log
local7.* /var/log/boot.logПжалуйста!!!
>>>redhat 7.2
>>>Cron почемуто пишет свой лог в два места одновремено
>>>/var/log/cron
>>>/var/log/messages
>>>
>>>в /etc/syslog.conf
>>>cron.* /var/log/cron
>>>
>>>Помогите?
>>>С Уважением Дмитрий!
>>
>>покажи весь /etc/syslog.conf
>>целиком?
>
>
># Log all kernel messages to the console.
># Logging much else clutters up the screen.
>#kern.*
>
>
>
> /dev/console
>
># Log anything (except mail) of level info or higher.
># Don't log private authentication messages!
>*.info;mail.none;authpriv.none
>
> /var/log/messages
>
всю информацию важности info и выше (ислключая facility mail и authpriv) класть в /var/log/messages
># The authpriv file has restricted access.
>authpriv.*
>
>
>
> /var/log/secure
>
># Log all the mail messages in one place.
>mail.*
>
>
>
> /var/log/maillog
>
>
># Log cron stuff
>cron.*
>
>
>
> /var/log/cron
>
># Everybody gets emergency messages, plus log them on another
># machine.
>*.emerg
>
>
>
> *
>
># Save mail and news errors of level err and higher in
>a
># special file.
>uucp,news.crit
>
>
> /var/log/spooler
>
># Save boot messages also to boot.log
>local7.*
>
>
>
> /var/log/boot.log
>
>Пжалуйста!!!
>># Log anything (except mail) of level info or higher.
>># Don't log private authentication messages!
>>*.info;mail.none;authpriv.none
>>
>> /var/log/messages
>>
>
>
>всю информацию важности info и выше (ислключая facility mail и authpriv) класть
>в /var/log/messagesПопробовал исключить cron все нормально. Спасибо!