Fixed minor bug in reflection

Fixed bug that forced the logsource to be declared as public