Chat Tutorial in NetBeans/Text Client: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>SimonSmall
Extra logging info
imported>SimonSmall
Line 264: Line 264:
== Adding Logging to the Client ==
== Adding Logging to the Client ==


To trace errors, or to monitor what parts of a program are executed, message statements can be inserted in the code. The log4j library provides a flexible and configurable way to do this. See [[Logging in Marauroa how this is done]] in Marauroa.
To trace errors, or to monitor what parts of a program are executed, message statements can be inserted in the code. The log4j library provides a flexible and configurable way to do this. See [[Logging in Marauroa | how this is done]] in Marauroa.


=== The logging configuration file ===
=== The logging configuration file ===