This is an automated email from the ASF dual-hosted git repository. jbonofre pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push: new 13563b0 Update user guide with cleanall start argument 13563b0 is described below commit 13563b0dd770acd16f9a0bdfc09f3ce6d52ddd60 Author: Jean-Baptiste Onofré <jbono...@apache.org> AuthorDate: Fri Dec 31 13:45:30 2021 +0100 Update user guide with cleanall start argument --- .../src/main/asciidoc/user-guide/start-stop.adoc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/manual/src/main/asciidoc/user-guide/start-stop.adoc b/manual/src/main/asciidoc/user-guide/start-stop.adoc index 8b49969..2cc8538 100644 --- a/manual/src/main/asciidoc/user-guide/start-stop.adoc +++ b/manual/src/main/asciidoc/user-guide/start-stop.adoc @@ -148,6 +148,28 @@ bin\karaf.bat clean bin\start.bat clean ---- +By default, `clean` doesn't remove the log folder and log files. If you want to clean all, including the log files, you have to use `cleanall` argument. + +On Unix: + +---- +bin/karaf cleanall +---- + +---- +bin/start cleanall +---- + +On Windows: + +---- +bin\karaf.bat cleanall +---- + +---- +bin\start.bat cleanall +---- + ===== Customize variables Apache Karaf accepts environment variables: