Reputation: 25
We are using the Openedge logging framework and trying to figure out how configure a file rolling setup. I tried setting up ${t.YYYY}-${t.MM}-${t.DD}-${t.MMM} for testing and see if I would get a new file every minute but the log files do not roll. It just keeps adding to the log which does get created with the right name "Common.v1.Logging": { "logLevel": "TRACE", "filters": [ "myfilter", { "name": "NAMED_FILE_WRITER", "fileName": "../logs/logFile.%t{yyyy}.log", "appendTo": true } ] }
Upvotes: 1
Views: 172
Reputation: 3909
This functionality is not currently available in the OpenEdge.Logging code. Please log an idea for it at https://openedge.ideas.aha.io/ so that we can add it to our backlog.
Take a look at the the doc on custom filters; you can create your own rolling logfile filter.
Upvotes: 1