Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

console output

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
How to send colsole output for websphere to file for java application
regards
 
author and cow tipper
Posts: 5000
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that the equivalent of the 'console' output for WebSphere goes into the System.out and the System.err log files.

Which exceptions/output are you trying to capture? If you are looking to implement a logging, log4J is always an option.

Let me know exactly what you are trying to output to a file, and maybe I'll be able to help you more.

Cheers!

-Cameron McKenzie
 
arjun rampal
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whatever I am getting through system .out it should go to a log file and all exceptions catched to that file only
regards
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When running Java standalone class in Websphere, there's a Common tab in the launch configuration.

This is what websphere help says:

When a launch configuration is executed, the standard output and standard input might display output data and read input data, respectively. By default, the Console view is used for both the standard output and standard input. The standard input may be disabled and the standard output may be changed to write or append to a local file in the Standard Input and Output pane of the Common tab. To disable the standard input, clear the Allocate Console check box; Allocate Console is necessary for input.





 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic