❦  2 mars 2018 09:49 +1100, Igor Cicimov <ig...@encompasscorporation.com> :

> $ ls -l /var/log/haproxy.log
> -rw-r----- 1 syslog adm 48939 Mar  1 20:17 /var/log/haproxy.log
>
> ​and I'm sure this file was automatically created ​(by rsyslog I guess?).
> I'm sure this has always been the case hence the reason I was confused when
> I had to create it manually (obviously with wrong permissiosn :-/ ).
>
> So the question is now why this file did not get created in the first place
> although I restarted rsyslog and haproxy several times?

I suppose the permissions of /var/log are incorrect. It should be owned
by syslog?
-- 
Format a program to help the reader understand it.
            - The Elements of Programming Style (Kernighan & Plauger)

Reply via email to