Peter, This is not going to be easy. Do you have a number in mind (max MB that log4j can occupy in storage on your device, things like that)?
You could try removing .appender.db.* .appender.rolling .appender.routing .async .jmx (see manual on switching off JMX) .net.* .web But most likely you're going to have to go in more detail and keep/remove individual classes. Be aware though that the core jar contains config files in addition to .class files. If you rebuild a jar with a custom subset you must include those config files or the api will not recognize your jar as an implementation. Best regards, Remko Sent from my iPhone > On 2013/12/09, at 4:27, Peter Penzov <[email protected]> wrote: > > Hi, > I want to reduce the size of Log4J because I need to use it on device with > very limited resources. Can you tell me which packages are not needed into > the below picture: > > <zzx.png> > > I need just basic functionality of log4J. > > Regards, > Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
