in a legacy project I find a strange solution for logging. All classes in the servicelayer does have method signature to getting a log. After digging through the code and numberous conversation I found the reason for that.
We are needing a distinct logfile for every business transaction that was processed. So if a new business transactions starts a new log is created and is put into every method that is called.
That looks really odd.
Before I start to override the Log.getLogger(..) method or something else. Does anyone knows a better way to log each business transaction in a distinct file?