> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/java/no-log-files-generated.md).

# No Log Files Generated

Logging is configured, but doesn't yield any log files

In case you encounter issues with the creation of log files when using the Java agent, please adhere to the following steps:

1. Ensure all logging parameters are properly configured
2. Configure the following flag as a JVM parameter in the specified application:

{% code overflow="wrap" lineNumbers="true" %}

```
sl.redirectStreamsTo=/path/to/log/folder
```

{% endcode %}

3. Restart your application server.

This method is to be used for debugging purposes only & should be removed once the required information has been retrieved.\
Under no circumstance should it be used as a replacement for logging parameters.

### Related articles <a href="#related-articles" id="related-articles"></a>

* [3-Component Integration Build](/knowledgebase/setup-and-configuration/build-and-test-execution/integration-build/3-component-integration-build.md)
* [Configure Pull Request Flow for SeaLights](/knowledgebase/setup-and-configuration/integrations/pull-request-integration/configure-pull-request-flow-for-sealights.md)
* [Sealights Agent Updates](/knowledgebase/setup-and-configuration/troubleshooting-faq/others/sealights-agent-updates.md)
* [Java Keystore: Add Certificate](/knowledgebase/setup-and-configuration/troubleshooting-faq/java/ssl-certificate-errors/java-keystore-add-certificate.md)
* [Using SL Multiprofiler with DataDog on IIS (Windows)](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/.net-core-agent/multiprofiling-running-sealights-side-by-side-with-other-profilers/using-sl-multiprofiler-with-datadog-on-iis-windows.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/java/no-log-files-generated.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
