Problems with log4r and logger

I’m having problems with both logger and log4r. They both work fine on
my local Windows machine but do not create the .log files when I try
them on my hosted UNIX server (TextDrive)

Below is the code for both log4r and logger. Both methods write
the .log file to the root Rails directory (not the directory where the
code is located). I changed the permission to 777 on the Root Rails
dir for the sake of testing and both methods still do not
generate .log files. Any ideas?

Thanks! chirag

Using logger

#require ‘logger’
def halo_logger
logger_fu =‘logfile.log’)
logger_fu.debug{ “params #{params} \n” }

Using log4r

require ‘log4r’
include Log4r

def halo_log4r
config = {
“filename” => “fu.log”,
“maxsize” => 16000,
“trunc” => true

logger_fu = 'myLog'

#alternate way of adding a file outputter
#out ="myLog", config)

logger_fu.outputters =“myLog”, config);
logger_fu.level = DEBUG
logger_fu.debug{ “params #{params} \n” }