Debugging & Logging
1 post
• Page 1 of 1
Debugging & Logging
For the live-version of my site, I changed settings in server.xml:
However, I noticed that errors still show code to the user:
Is that the intended behaviour? I would not like my site showing any APL to the users, this is just too confusing (I'm dealing with "normal" ppl) - there should be a (friendly) plain-text-msgs telling them abt. a fault preventing normal execution (it would be great if this was one of the CommonPages, so that I could make sure it uses consistent & pleasant design)- and, since I've set <LogMessageLevel>1</LogMessageLevel>, an entry into the log would be great. But I haven't been able yet to figure out how logging works. Has anyone had more sucess with logging?
- Code: Select all
<Production>1</Production>
<TrapErrors>1</TrapErrors>
<Debug>0</Debug>
However, I noticed that errors still show code to the user:
- Code: Select all
Server Error in '/goto.dyalog'.
Unhandled Exception Error
Description: An unhandled exception occurred during the execution of the current web request.
Exception Details:
INDEX ERROR
Render[8] :If hash≢1⊃,cmp ⋄ _Request.Session.Message←'E' 'Ungültiger Seitenaufruf' ⋄ →0 ⋄ :EndIf
Is that the intended behaviour? I would not like my site showing any APL to the users, this is just too confusing (I'm dealing with "normal" ppl) - there should be a (friendly) plain-text-msgs telling them abt. a fault preventing normal execution (it would be great if this was one of the CommonPages, so that I could make sure it uses consistent & pleasant design)- and, since I've set <LogMessageLevel>1</LogMessageLevel>, an entry into the log would be great. But I haven't been able yet to figure out how logging works. Has anyone had more sucess with logging?
-
MBaas - Posts: 156
- Joined: Thu Oct 16, 2008 1:17 am
- Location: Gründau / Germany
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group