This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
jQuery in Action, 2nd edition
 
subject: Sysouts in AOP logger
 
Similar Threads
Redirecting sysout to log file
AOP
What is AOP?
Problem with Spring AOP
Loading a class