wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes I want to change this logLine format? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I want to change this logLine format?" Watch "I want to change this logLine format?" New topic
Author

I want to change this logLine format?

Varuna Seneviratna
Ranch Hand

Joined: Jan 15, 2007
Posts: 167
I want to add the following

SUCCESSFUL_ACCESS=200, ACCESS_FORBIDDEN=403, DOCUMENT_NOT_FOUND=404

to the logLine created by the following code
Below are the four classes associated with this program.in addition to the information that is given now they are 1Accesses pre hour(0-23) 2 Accesses per day(days 1-31) and so on. I want to add using the above mentioned access status indicators how many accesses were successful and unsuccessful.This is from the book objects first with blueJ.Please explain to me how this can be done and how it is actually getting implemented.













Guide me how to do That?


Varuna

[ November 06, 2008: Message edited by: Varuna Seneviratna ]
[ November 06, 2008: Message edited by: Varuna Seneviratna ]

Varuna Seneviratna
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11152
    
  16



I doubt that's what you want, but it's what you asked for. Can you elaborate on exactly what you DO want?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I want to change this logLine format?
 
Similar Threads
Subtract 2 Dates
ERROR in all jtable cells using DefaultTableModel
I wanted to write a method that would return the year with the most number of hits as part of ex 4.3
How do these classes work?
Custom Date class and Appointment class