Renamed method
Added debug log on sigusr1
fix