aspose file tools*
The moose likes Spring and the fly likes Sysouts in AOP logger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sysouts in AOP logger" Watch "Sysouts in AOP logger" New topic
Author

Sysouts in AOP logger

Venkat Raman Parasuraman
Greenhorn

Joined: Oct 13, 2008
Posts: 10
Hi,

Which property is used to print the Sysouts into the AOP logger file? Can we do that? For example, my SQL commands are written in server console, instead, it should be written in the AOP logger file and not in Server console.

Thanks.
Venkat

Thanks,
Venkat
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You'd have to redirect stdout somehow.

Are you sure the SQL isn't just being logged to its default logger?
Venkat Raman Parasuraman
Greenhorn

Joined: Oct 13, 2008
Posts: 10
ya, its logged in the default logger as well as prints in the console of server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sysouts in AOP logger