The closest I could find was to use -Dlog4j.debug, this will put
(configuration) errors with appenders on the console.

On Thu, Oct 29, 2015 at 5:17 PM, Ralph Goers <[email protected]> wrote:
> Did you specify ignoreException=false?
>
> Ralph
>
>> On Oct 29, 2015, at 4:06 PM, Priya Ahuja <[email protected]> wrote:
>>
>> I am seeing a similar issue with log4j2, is there any log that
>> contains the error that log4j was not able to write to file?
>>
>> On Thu, Oct 29, 2015 at 3:53 PM, Remko Popma <[email protected]> wrote:
>>> What action should the daemon take when its quota is reached?
>>>
>>> Sent from my iPhone
>>>
>>>> On 2015/10/30, at 2:21, degenaro <[email protected]> wrote:
>>>>
>>>> We use log4j with rolling appenders for daemons that run 24x7.  The daemons
>>>> run as a user on linux and the log files are written to a filesystem that
>>>> has a quota.  Normally this works great.  Once in a while (usually due to
>>>> human error) the quota is exceeded.  This, unfortunately, prevents the
>>>> daemons from writing their logs...worst of all silently.  There is no
>>>> indication that anything is wrong!
>>>>
>>>> So my question is: how do we configure log4j so that when logging (to file)
>>>> fails the daemon can find out and take appropriate action?
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: 
>>>> http://apache-logging.6191.n7.nabble.com/how-to-detect-logger-is-unable-to-write-to-file-tp59123.html
>>>> Sent from the Log4j - Users mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to