Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Details
Sentry
Sentry
Sentry
Created November 19, 2020 at 6:07 PM
Updated November 25, 2020 at 9:56 PM
Resolved November 25, 2020 at 9:56 PM
BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io
When logging using this configuration, there is no line break on the first message:
logBox = { // Define Appenders appenders : { actionLogger: { name='actionLogger', class="coldbox.system.logging.appenders.FileAppender", properties={ filePath="logs", filename='actionLog', autoExpand=true, fileMaxArchives=1, fileMaxSize=3000, async=true } }, coldboxTracer : { class : "coldbox.system.logging.appenders.ConsoleAppender" } }, // Root Logger root : { levelmax : "INFO", appenders : "coldboxTracer" }, // Implicit Level Categories // info : [ "coldbox.system" ], categories: { 'memberLog': { appenders: 'actionLogger' } } };
property name="logger" inject="logbox:logger:memberLog"; + logger.info("TESTING") == "Severity","Appender","Date","Time","Category","Message""INFO","actionLogger","11/19/2020","17:57:45","","TESTING" (https://www.screencast.com/t/3DiUHSuJtkU9) ```
Additionally, if I uncomment the `info : [ "coldbox.system" ],` line, it logs system information into this file, which I don't want. I just want my app logging information in there. I would like to add an additional file log to track system info (and qb debugging info into yet another file) but I can't seem to direct output where I expect it to go reliably even after reading the documentation multiple times.