Fwd: logging in separate file in a multi-tenant application
I have a multi-tenant application on which I'm using log4net. Until now, I have had all clients logging into 2 separate files split by 'threshold value="Error"' (errors and everything else). The appenders are of type RollingFileAppender (I have included below the appenders).
What I am trying to achieve is that each that each thread (tenant) to write to its individual files (tenant1_errors & tenant1_everything_else) - ideally, without having to manually specify the tenants.