File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

console output

 
arjun rampal
Ranch Hand
Posts: 125
  • 0
  • 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
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • 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
  • 0
  • 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
 
Manpreet Kaur Chandna
Greenhorn
Posts: 3
  • 0
  • 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.





 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic