Renzo Ramos
Renzo Ramos

Reputation: 25

openedge logging framework roll files

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

Answers (1)

nwahmaet
nwahmaet

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

Related Questions