I just upgraded to 3.0.26a via src rpm and noticed some strange
behavior in the log files. I have the following line in my smb.conf:

Log file = /var/log/samba/%m.log

which worked fine in 3.0.24c. But now when I start the daemons, they
write to /var/log/samba/log.%m. Actually, nmbd is writing to one log
and smbd is writing to both:

-rw-r--r-- 1 root root 9724 Sep 11 20:15 log.nmbd
-rw-r--r-- 1 root root 871 Sep 11 20:00 log.smbd
-rw-r--r-- 1 root root 5116 Sep 11 20:00 smbd.log

I experienced the same problem a few years back. I went back into
the archives and found this:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~

On Saturday 18 September 2004 19:02, Ed Kasky wrote:
> I just upgraded to 3.0.7-1 and noticed an slight oddity in the logs now
> beig created. In my smb.conf I have:
>
> log level = 2
> log file = /var/log/samba/%m.log
>
> Since upgrading I now get two logs for smbd and two for nmbd...
>
> 114676 Sep 18 07:19 /var/log/samba/log.nmbd
> 100728 Sep 18 15:35 /var/log/samba/nmbd.log
> 4656 Sep 18 06:34 /var/log/samba/log.smbd
> 55035 Sep 18 06:34 /var/log/samba/smbd.log


That has been the case since 3.0.0 so far as I can recall.

>
> I have not seen this with previous versions and was wondering if I might
> have done something that I am no taware of in the upgrade to cause this...


You are not guilty! I see the same thing. Its a known behavior.

- John T.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~

So is this still known behavior? Is there a way to correct this?

Ed

.. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (1025 of 1270):
The miracle is not to fly in the air, or to walk on the water,
but to walk on the earth. -Chinese proverb
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba