You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/recipes/troubleshooting.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
22
22
This guide is about how to troubleshoot problems with Lucee, including crashes, startup problems etc.
23
23
24
-
Alas this guide isn't about why the code you are writing isn't working!
24
+
Sadly, this guide isn't about why the code you're writing isn't working!
25
25
26
26
## Logs
27
27
@@ -33,11 +33,11 @@ Your Servlet Egine will have it's own logging, as Lucee is distributed with Tomc
33
33
34
34
Under your Lucee install directory, there will be a `tomcat` folder, inside this folder is a `logs` directory.
35
35
36
-
The main log file for tomcat is called `catalina-{date}-.log` and this log will contain the startup logs and shutdown logs, plus any exceptions along the way from the Servlet engine.
36
+
The main log file for tomcat is called `catalina-{date}-.log` and this log will contain the startup logs and shutdown logs, plus any exceptions along the way from the Servlet engine.
37
37
38
38
### Lucee Server
39
39
40
-
Lucee is a Servlet and deploys itself into a directory called `lucee-server`.
40
+
Lucee is a Servlet which runs on a Servlet Engine, it deploys itself into a directory called `lucee-server`.
41
41
42
42
Under this directory is a `context/logs` directory, which contains all the Lucee log file in a default configuration.
43
43
@@ -58,13 +58,13 @@ One the initial statup and deployment has got far enough along to haved loaded c
58
58
59
59
#### Starting Tomcat manually and redirecting logs to console.
60
60
61
-
A useful technique when debuggin a Lucee Server is start Tomcat manually, in a Terminal, as opposed to auto starting or running as service/dameon.
61
+
The best first step when debugging a Lucee Server is start Tomcat manually, in a Terminal, as opposed to auto starting or running as service/dameon.
62
62
63
63
In the `tomcat/bin` directory, there's a bash/batch file called `catalina.sh` or `catalina.bat` which can be run with the run option, i.e `./cataline.sh run` or `catalina run`
64
64
65
65
By default, this will show all the `catalina.log` information in the console.
66
66
67
-
Since Lucee 6.2, you can also redirect all the logging to the console.
67
+
Since Lucee 6.2, you can also redirect all the log4j logging to the console. (TODO out.log and err.log!)
68
68
69
69
On Windows
70
70
@@ -93,6 +93,8 @@ Please first check whatever search engine or LLM, you prefer and/or search the [
93
93
94
94
If you can't find a solution to your problem, please post to the dev forum first and include all the relevant details
95
95
96
+
Ask youself, if you were assiting someone else with your problem, what questions would you ask when you read your support request before you press send.
0 commit comments