in reply to How to "disguise" caller
I need it to log messages in log4perl as if they were logged from totally different module...
I don't know your larger background, and I can't answer your question, but want to point out that when parts of your software is lying to other parts of the software, that's a strong indication that there's a larger problem in the design of your code.
Maybe logging is abused for something it was never meant to? Or maybe it's really an XY Problem?
Also, would you care to provide more background information about why this is necessary? I'm really curious.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to "disguise" caller
by menth0l (Monk) on Feb 10, 2011 at 14:58 UTC | |
by moritz (Cardinal) on Feb 10, 2011 at 16:17 UTC | |
|
Re^2: How to "disguise" caller
by Voronich (Hermit) on Feb 10, 2011 at 14:45 UTC |