Hi! I enabled Audit log um my samba dc. But i want configuration log size and rotation. my config : log size: max log size = 5000 https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samba_Server#Setting_the_Maximum_Log_File_Size for rotation I did not find anything But option "max log size" dont work .. Any ideia ? samba v 4.8.0 Ubuntu 16.04 My conf: log level = 1 auth_audit:3 auth_json_audit:3 max log size = 5000 Regards;
Look here ls /etc/logrotate.d/ | egrep "samba|winbind" Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Carlos via samba > Verzonden: woensdag 11 april 2018 16:35 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Logs size and rotate log > > Hi! > > I enabled Audit log um my samba dc. > > But i want configuration log size and rotation. > > my config : > > log size: > > max log size = 5000 > > https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samb > a_Server#Setting_the_Maximum_Log_File_Size > > > for rotation I did not find anything > > But option "max log size" dont work .. > Any ideia ? > > samba v > 4.8.0 > Ubuntu 16.04 > > My conf: > > log level = 1 auth_audit:3 auth_json_audit:3 > max log size = 5000 > > Regards; > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Hi! I thought I'd use "logrorare" but i thought use native tools ;-D Thanks; Regards; On 11-04-2018 12:07, L.P.H. van Belle via samba wrote:> Look here > > ls /etc/logrotate.d/ | egrep "samba|winbind" > > Greetz, > > Louis > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> Carlos via samba >> Verzonden: woensdag 11 april 2018 16:35 >> Aan: samba at lists.samba.org >> Onderwerp: [Samba] Logs size and rotate log >> >> Hi! >> >> I enabled Audit log um my samba dc. >> >> But i want configuration log size and rotation. >> >> my config : >> >> log size: >> >> max log size = 5000 >> >> https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samb >> a_Server#Setting_the_Maximum_Log_File_Size >> >> >> for rotation I did not find anything >> >> But option "max log size" dont work .. >> Any ideia ? >> >> samba v >> 4.8.0 >> Ubuntu 16.04 >> >> My conf: >> >> log level = 1 auth_audit:3 auth_json_audit:3 >> max log size = 5000 >> >> Regards; >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> >