HEADS UP: The Joys of Logging, or subtle behaviour change of logging in the daemons in 4.15

Anoop C S anoopcs at samba.org
Mon Sep 6 06:04:40 UTC 2021


On Fri, 2021-09-03 at 18:22 +0200, Ralph Boehme via samba-technical
wrote:
> The following MR addresses all of the above
> 
> https://gitlab.com/samba-team/samba/-/merge_requests/2150
> 
> 
> Behaviour of 1) is restored to what we had in 4.14.
> 
> 
> 2) is addressed by opting for stderr instead of stdout, ie
> 
> - in 4.14 all daemons were logging to stdout
> 
> - in the previous 4.15rc's:
> 
>    - smbd and nmbd were logging to stderr
> 
>    - winbind and samba were logging to stdout
> 
> - with MR 2150 all daemons log to stderr when started with -i
> 
> 
> Not that all of this really matters, in the end it's just logging.
> But 
> given the vast amount of tooling around logging these ways, we're 
> worried that the subtle changes in 2) may be an issue.
> 
> 1) isn't really problematic, but what shall we do with 2) ? Go for 
> stderr as implemented in the MR or rollback to logging to stdout as
> we 
> did in 4.14?
> 
> I'd vote for stderr, what do others think ?

+1, that's the right way forward.


-Anoop C S.




More information about the samba-technical mailing list