Do you have a docker-composite version of your script?
I'm not very good at it.
Thank you in advance
I would like to adopt the logrotation out of
for the devel log but have trouble to loacate the file, where it is created.
loader.js is in the root of the nodebb installation. The log file is at
You definitely misunderstood me. The information you provided was well known to me But probably my question was just not clear enough - it's me to blame
admin->advanced->logger it is possible to configure a custom/devel log (works like charm). I'd like to rotate this logfile using the software (and not logrotate.d) since the rotation of the 'main' logfile is already done within the software I thought of adopting the method in loader.js, Therefore I was looking for the place in the code, where the devel.log is defined/created.
Ah that functionality is handled in https://github.com/NodeBB/NodeBB/blob/master/src/logger.js