Is there anyway to truncate the whole absolute path when logging?
Right now, my layout for logging is
"layout": {
"type": "pattern",
"pattern": "[%d{yyyy-MM-ddThh:mm:ss.SSS}] [%p] %c %f %l - %m"
},
But the filename option is printing out the whole absolute path to the file. I would like to have possibly the option to see either
filename.js OR .../folder/filename.js
Is there anyway to truncate the whole absolute path when logging?
Right now, my layout for logging is
But the filename option is printing out the whole absolute path to the file. I would like to have possibly the option to see either
filename.js OR .../folder/filename.js