rails: fix when registering rails log to logentries (wrong variable name)