RE: Log4j2 - Socket appender configuration in properties file format

2016-12-16 Thread Tarun Sharma
I think I have got most of them. I am just stuck at two attributes, the keystore type and the managerfactoryalgorithm for both keystore and truststore. appender.socket.type = Socket appender.socket.name= LogwareSocket appender.socket.host = localhost appender.socket.port = 5514 appender.s

Re: Generating Extended Loggers command fails with NoClassDefFoundError

2016-12-16 Thread Remko Popma
Ah, sorry, I overlooked your email. Glad you got it working. We'll revert the change that introduced the dependency on log4j-api, that should not be necessary. Sent from my iPhone > On 16 Dec 2016, at 18:02, "[email protected]" wrote: > > It was missing the api jar, and I got it working n

Re: Generating Extended Loggers command fails with NoClassDefFoundError

2016-12-16 Thread Remko Popma
> On 16 Dec 2016, at 17:43, "[email protected]" wrote: > > Its on the path, and btw am running from the -bin folder, and the command is > same as whats gien an example on the webpage, v2.7, and I'm running on mac: > java -cp log4j-core-2.7.jar > 'org.apache.logging.log4j.core.tools.Generate$

Re: Generating Extended Loggers command fails with NoClassDefFoundError

2016-12-16 Thread [email protected]
It was missing the api jar, and I got it working now. Thanks! On 2016-12-16 03:43 (-0500), "[email protected]" wrote: > Its on the path, and btw am running from the -bin folder, and the command is > same as whats gien an example on the webpage, v2.7, and I'm running on mac: > java -cp log4j-

Re: Generating Extended Loggers command fails with NoClassDefFoundError

2016-12-16 Thread [email protected]
Its on the path, and btw am running from the -bin folder, and the command is same as whats gien an example on the webpage, v2.7, and I'm running on mac: java -cp log4j-core-2.7.jar 'org.apache.logging.log4j.core.tools.Generate$ExtendedLogger' \ com.mycomp.ExtLogger DIAG=350 NOTICE=450 VER