GitHub user i-make-robots edited a discussion: Log4j creates an empty log file and refuses to fill it?
Hello, everyone. I hope you're doing well. My Java 22 open source project is https://github.com/MarginallyClever/Makelangelo-software/. I'm using logback and log4j with a rolling file appender. My config file is https://github.com/MarginallyClever/Makelangelo-software/blob/master/src/main/resources/logback.xml I then use JPackage to distribute my app with all the dependencies baked into a fat jar. For MOST people the log file appears and fills normally. For a select number of users the log file appears but stays empty. They have been gracious enough to try running the JAR from the command line but we've seen no extra console messages. Running in administrator mode doesn't help. Immediate flushing doesn't help. Adding a logback status listener (logback-status.log) also doesn't appear for those tricky users. Can someone please give me a hint what I'm doing wrong? GitHub link: https://github.com/apache/logging-log4j2/discussions/3793 ---- This is an automatically sent email for dev@logging.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org