logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Garg <mohi...@vt.edu>
Subject Re: Chainsaw Zeroconf FileAppender Error
Date Fri, 21 Apr 2017 21:58:47 GMT
Hey Scott,

Chunk of my log file:

17:18:24.897 [main] WARN  org.jgroups.protocols.UDP JGRP000015: the send
buffer of socket MulticastSocket was set to 5MB, but the OS only allocated
1.05MB. This might lead to performance problems. Please set your max send
buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
17:18:24.897 [main] WARN  org.jgroups.protocols.UDP JGRP000015: the send
buffer of socket MulticastSocket was set to 5MB, but the OS only allocated
1.05MB. This might lead to performance problems. Please set your max send
buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
17:18:24.899 [main] WARN  org.jgroups.protocols.UDP JGRP000015: the send
buffer of socket MulticastSocket was set to 5MB, but the OS only allocated
1.05MB. This might lead to performance problems. Please set your max send
buffer in the OS correctly (e.g. net.core.wmem_max on Linux)


My Log4J configuration:

<?xml version="1.0" encoding="UTF-8" ?>
<Configuration advertiser="multicastdns" status="INFO">
    <Appenders>
        <Console name="STDOUT" target="SYSTEM_OUT">
           <PatternLayout pattern="%d{ISO8602} %-5p [%t] %m%n [UTF-8]"/>
        </Console>
        <File name="File1" filename="/home/user/output.log"
bufferedIO="false" advertiseURI="file:///home/user/output.log"
advertise="true">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level
%logger{36} %m%n"/>
        </File>
    </Appenders>
    <Loggers>
        <Root level="warn">
        <AppenderRef ref="File1"/>
    </Root>
    <Logger name="org.jgroups" level ="warn">
        <AppenderRef ref="File1"/>
    </Logger>
    </Loggers>
</Configuration>



On Fri, Apr 21, 2017 at 5:41 PM, Scott Deboy <scott.deboy@gmail.com> wrote:

> Send a chunk of your log file and I'll give you a config that works.
>
> Scott
>
> On Apr 21, 2017 2:36 PM, "Mohit Garg" <mohitce@vt.edu> wrote:
>
> > Hey Scott,
> >
> > Yes, I am using Chainsaw and logging on the same machine.
> >
> > My OS is Ubuntu 14.04.
> >
> > Can you please send me a sample VFSLogFilePatternReceiver config or point
> > me towards a resource.
> >
> >
> > Thanks,
> > Mohit Garg
> >
> > ‚Äč
> >
>



-- 
Thanks and Regards,
Mohit Garg

Masters|Computer Engineering
Virginia Polytechnic Institute
and State University

<+1-540-449-3550>   <https://www.linkedin.com/in/mogarg>
<https://github.com/mogarg>   <http://bit.ly/mogargcv>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message