Remote Logging

2017-12-11 Thread Abhinav Rana
Hello, So i have this task to log activities to a file, but it has to be done remotely on the server side, Remote logging. I found out that before log4j 2.6 to listen to a port we used TcpSocketServer which started a server using LogEventBridge     * This class was in core.net.server which

Re: Remote Logging

2017-12-11 Thread Apache
The server is now in a separate git project. While it is usable it was really meant to be a sample that users could use to start from to build their own server. We will be publishing a release soon. Ralph > On Dec 11, 2017, at 1:13 AM, Abhinav Rana wrote: > > Hello, > > So i have this task t

Re: Log4j Stacktrace - Only have certain lines in stacktrace

2017-12-11 Thread Mikael Ståldal
On 2017-12-02 16:01, Debraj Manna wrote: In my stacktrace I only want to have lines starting with let's say com.xyz. Is it possible to have something like the solution discussed in this answer ? As far as I know, it is currently not possible to do t

Re: Log4j Stacktrace - Only have certain lines in stacktrace

2017-12-11 Thread Ralph Goers
If you look at the documentation for the %ex pattern of the PatternLayout [1] you will see that you can do the exact opposite. You can specify packages that you don’t want to see. Ralph [1] http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout

Re: Remote Logging

2017-12-11 Thread Abhinav Rana
Hi, So for the latest version of Log4j2(2.10) is there no way to do remote logging  ? I need to wait for the release ? Thank You Abhinav Rana On 12/11/2017 3:53 PM, Apache wrote: The server is now in a separate git project. While it is usable it was really meant to be a sample that users c