Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Uweheuer
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Logging and Debuging== ===Server Logging=== Server-side logging configuration is done via configuration in [[JBoss#Logging_Configuration|JBoss]]. The configuration is (details of Raspberry Wildfly 11 see [[:File:RaspberryUweHeuerLoggerConfiguration.pdf|here]]): * Configuration->Core->Logging->Log category 'uweheuer', Log Level 'INFO', handler 'uweheuer_periodic_file_handler' * Configuration->Core->Logging->Periodic handler 'uweheuer_periodic_file_handler', log level 'INFO', formatter '%d{HH:mm:ss,SSS} %-5p [%c] %C.%M() %s%E%n', ... The coding uses '''LogUtil.java''' an the static method. It creates a logger named '''uweheuer''' which is used through out the code and which has the same name as the log category. ===Client Logging=== Logging on the '''client side''' is implemented in <code>MyLog.js</code>, which just has to be included to use it. There are for methods to be uses: *myLog.info(<message>, <funcname>); *myLog.warn(<message>, <funcname>); *myLog.error(<message>, <funcname>); *myLog.log(<message); // obsolete Logging always goes to console, in addition also to a special div (var view, setView();) within a window or a seperate window (showLogWindow();). Because the seperate window gets the focus when displaying a message it should be used with the split view of Chrome. ===Eclipse Debugging=== * debug server by [[JBoss#HP_EBS_laptop_installation|JBoss]] * debug applet by Run -> Debug configurations -> Java Applet -> Debug TunnelAppletx
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width