Skip to content

An example project which demonstrates how to do aop logging in java

Notifications You must be signed in to change notification settings

sureshkadi/aop-logging-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This is an example project which shows how to setup and use aop logging in a java webapp.

To run the project:

$ mvn tomcat:run

Fire up this url in your browser: http://localhost:8080/aop-logging-example

You should see something like the following in your console each time you refresh the web page:

aop-logging-example: 13:02:14.591 [http-8080-1] DEBUG com.nexse.swat.example.service.DefaultOrderService - order(): [Customer{fullName='Arthur Dent', address='The Galaxy'}, Product{id=42, name='Hitchhicker's Guide to the Galaxy'}]
aop-logging-example: 13:02:14.592 [http-8080-1] DEBUG com.nexse.swat.example.service.DefaultOrderService - order(): result=Order{status=PROCESSED, timestamp=Fri Nov 25 13:02:14 CET 2011, customer=Customer{fullName='Arthur Dent', address='The Galaxy'}, product=Product{id=42, name='Hitchhicker's Guide to the Galaxy'}}

Nexse SWAT Team http://swat.nexse.com/ @NexseSwatTeam

About

An example project which demonstrates how to do aop logging in java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages