Logging errors in a single file
<p>Is it possible to log all applications errors in a single file. </p>

<p>I am configured the application to save logs with log4j, but I need a file that contains only error logs. </p>

<p>Thank you for your help.</p>