Re: Log rotation in std.logger.filelogger

2023-05-24 Thread Vitalii via Digitalmars-d-learn
On Tuesday, 23 May 2023 at 14:10:52 UTC, apz28 wrote: On Tuesday, 23 May 2023 at 13:13:18 UTC, Andrew wrote: On Tuesday, 23 May 2023 at 11:21:07 UTC, apz28 wrote: [...] Please don't take this as an insult, as I've also written my own logging library lol. But I have a feeling that our

Re: Log rotation in std.logger.filelogger

2023-05-23 Thread apz28 via Digitalmars-d-learn
On Tuesday, 23 May 2023 at 13:13:18 UTC, Andrew wrote: On Tuesday, 23 May 2023 at 11:21:07 UTC, apz28 wrote: On Wednesday, 17 May 2023 at 21:11:41 UTC, Vitalii wrote: Hello! Please tell me how to enable log rotation in std.logger.filelogger? Without log rotation, it seems

Re: Log rotation in std.logger.filelogger

2023-05-23 Thread Andrew via Digitalmars-d-learn
On Tuesday, 23 May 2023 at 11:21:07 UTC, apz28 wrote: On Wednesday, 17 May 2023 at 21:11:41 UTC, Vitalii wrote: Hello! Please tell me how to enable log rotation in std.logger.filelogger? Without log rotation, it seems that the std.logger.filelogger is useless, because it will quickly take

Re: Log rotation in std.logger.filelogger

2023-05-23 Thread apz28 via Digitalmars-d-learn
On Wednesday, 17 May 2023 at 21:11:41 UTC, Vitalii wrote: Hello! Please tell me how to enable log rotation in std.logger.filelogger? Without log rotation, it seems that the std.logger.filelogger is useless, because it will quickly take up all the free space on the hard drive. Or can try

Re: Log rotation in std.logger.filelogger

2023-05-22 Thread Kagamin via Digitalmars-d-learn
I suppose you write a custom logger for that or take an already written one from code.dlang.org