Re: Syslog file max Size wrap issue

2023-01-03 Thread Xiang Xiao
On Tue, Jan 3, 2023 at 8:51 PM Simon Filgis wrote: > Hi Alan, > > Thanks for your email. > > I had a closer look and I think I do not think of a bug anymore. > > Filesize is only checked once, while initializing the syslog file channel > with syslog_file_channel() at board level. In other words,

Re: Syslog file max Size wrap issue

2023-01-03 Thread Simon Filgis
Hi Alan, Thanks for your email. I had a closer look and I think I do not think of a bug anymore. Filesize is only checked once, while initializing the syslog file channel with syslog_file_channel() at board level. In other words, rotation does only happen on reboot. A "life-rotate" mechanism wo

Re: Syslog file max Size wrap issue

2023-01-01 Thread Alan C. Assis
Hi Simon, Happy new year! Do you know if that Rotating Log was working on previous releases (i.e 10.3) ? Probably some recent modification broke it. I think we don't have a Rotation Log test, we need some Software Qualification Testing when doing a software release. I just opened an Issue abou

Syslog file max Size wrap issue

2023-01-01 Thread Simon Filgis
Dear nuttx developers, I find the syslog architecture to generated files way bigger then configured: [image: image.png] 6 files of log-files with unpredictable final size, up to 1,5GB. [image: image.png] I would expect 10 files with maximum 0.5MB. The file log stream is delegated to sd-card.