log and source stubs