Compiling with sunstudio 11

2009-05-19 Thread CREMARENCO Cosmin
Hi I've been running into some issues when compiling log4cxx. Mostly standard library functions that aren't declared before they are used. I attached a patch that fixes the problems I found. CXX=/nettools/sunstudio/sunstudio11/SUNWspro/bin/CC CC=/nettools/sunstudio/sunstudio11/SUNWspro/bin/cc ./c

Lazy creation of logging files

2015-02-10 Thread CREMARENCO Cosmin
Hello, I made a patch that should create files (via FileOutputStream) only when a message is actually logged to the file (see the patch below). What was bothering us was that we had plenty of empty logging files. My questions are: 1. Is this a good idea? And if yes would you be interested