bug fixed Logging error on osgi