[Oisf-users] log to file does not work if suricata run as daemon

Delta Yeh delta.yeh at gmail.com
Thu Dec 15 11:55:31 UTC 2011


When run suricata with:
  src/.libs/suricata  -c /etc/suricata/suricata.yaml  -i eth0

I can see logs.

When run suricata with:

 src/.libs/suricata  -c /secone/websensor/conf/websensor.yaml  -D -i eth0

I can't see logs.


2011/12/15 Peter Manev <petermanev at gmail.com>:
> Hi,
> How do  you start Suricata exactly?
>
> thanks
>
> On Thu, Dec 15, 2011 at 12:38 PM, Delta Yeh <delta.yeh at gmail.com> wrote:
>>
>> Hi,
>>  I my test, I find log to file does not work if suricata run as  daemon.
>>
>> suricata.yaml :
>> logging:
>>  default-log-level: info
>>  outputs:
>>  - console:
>>      enabled: yes
>>  - file:
>>      enabled: yes
>>      filename: /var/log/suricata.log
>>
>> run suricata and then
>>
>> tail -f  /var/log/suricata.log
>>
>>
>> I can  see runtime logs  only without "-D" option.
>> _______________________________________________
>> Oisf-users mailing list
>> Oisf-users at openinfosecfoundation.org
>> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>
>
>
>
> --
> Peter Manev



More information about the Oisf-users mailing list