Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java Servers
Search Coderanch
Advance search
Google search
Register / Login
Help coderanch get a
new server
by contributing to the
fundraiser
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
Other Java Products
System.out & System.err to log files in iPlanet Web Server 6.0
steveque
Greenhorn
Posts: 5
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear all,
Do anybody know how to set the iPlanet Web Server so that those system.out.println or system.err.println in
servlet
will be logged to files respectively?
Thanks for kindly help.
Steve
Giridhar Pendyala
Greenhorn
Posts: 6
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use the following code, basically open a file stream and set out and err to that stream.
PrintStream logStream = new PrintStream( new FileOutputStream("Console.txt", true)); System.setOut(logStream); System.setErr(logStream);
regds,
Giri
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Rotate log script required urgently
configuring filters
JAX-RPC and iPlanet 6.0 Web Server
How to log System.out.println in iplanet ?
Iplanet Config file referencing Certs
More...