log4cxx: No appender could be found for logger (somelogger)

Whooa! If nothing is working, do the following :

Put a log4cxx configuration file named log4cxx.properties under the same directory as your executable.

Most likely your application could not read the configuration file path you have so hopefully coded while setting up your logger. Trust me, I have spent an hour trying to debug my little logger.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s