Troubleshooting > Troubleshooting Runtime Issues > Scenario: Logback is configured and file created, but nothing is written to file.
Scenario: Logback is configured and file created, but nothing is written to file.
If your logback.xml file is configured to write to the logs and the log file is created, it is possible for nothing to be written to the file (when you know it should be). The possible cause for this issue is the order in which your logback.xml file is configured. Read https://logback.qos.ch/manual/configuration.html#syntax for complete syntax information. You can define loggers and appenders wherever you want, but if you want to reference an appender, it must be defined before you reference it The correct order in the XML file is Appenders → Loggers → Root.
* 
You might want to point the slf4j metrics configuration to this logback configuration.
For an example, the logback-long-sample.xml shows the appender before the logger.
* 
The Connector loads and caches all configuration settings during startup. Any changes that you make to the configuration when troubleshooting are ignored until the Connector is restarted.