View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000781 | Samba Server | Bug | public | 2024-01-19 20:58 | 2024-01-22 07:03 |
Reporter | psmedley | Assigned To | psmedley | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000781: Log rotation issues | ||||
Description | From Dave on os2world: One thing I have noticed - I have 'max log size = 2048' in the server smb.conf, but it seems to be ignored because I get logs over 10MB all the time, especially with log level = 8. Maybe a bug? | ||||
Tags | No tags attached. | ||||
|
@Dave - did this work correctly with Samba 3.x? |
|
Looks like https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/lib/util/debug.c#L1435 is supposed to handle the close/rename/reopen |
|
Also, see https://trac.netlabs.org/samba/ticket/36 |
|
Partially fixed in https://github.com/psmedley/samba-os2/commit/a17dd06b5d4606496c0a44f8155008c2416d9366 build to follow. We better match the Samba 3.x code now. |
|
https://smedley.id.au/tmp/smbd-4.19.4-20240121b.zip includes the below patch |
|
Don't remember about whether it worked with SAMBA 3 - and only noticed now it didn't as a result of testing with log level=8. I'll give your new build a try and let you know.... |
|
Paul - it seems to be working. No log has gone over 2MB for several hours using log level = 8. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-19 20:58 | psmedley | New Issue | |
2024-01-19 21:01 | psmedley | Category | 10 => Bug |
2024-01-20 00:06 | psmedley | Note Added: 0004670 | |
2024-01-21 00:25 | psmedley | Note Added: 0004672 | |
2024-01-21 00:29 | psmedley | Note Added: 0004673 | |
2024-01-21 07:03 | psmedley | Note Added: 0004675 | |
2024-01-21 07:04 | psmedley | Assigned To | => psmedley |
2024-01-21 07:04 | psmedley | Status | new => feedback |
2024-01-21 07:04 | psmedley | Note Added: 0004676 | |
2024-01-21 15:03 | David McKenna | Note Added: 0004680 | |
2024-01-21 19:18 | David McKenna | Note Added: 0004681 | |
2024-01-22 07:03 | psmedley | Status | feedback => resolved |
2024-01-22 07:03 | psmedley | Resolution | open => fixed |