June 2002
Intermediate to advanced
400 pages
7h 48m
English
In this section, we'll look at performing some basic logging for a WebObjects application. In particular, we'll look at logging information of user logins for the online forum application as well as at Web server logging and statistics gathering for WebObjects applications.
In many applications it might be useful to maintain a log of attempted logins to an application. Again, it isn't particularly important to manage or maintain user logins to an online forum. However, it might be relevant to some.
To enable logging you must set up a log file for use by the application. The directory /Library/WebObjects/ might be a suitable place to set up a Logs directory.
From the Terminal command line ...