dominikh1 changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.6
postmodern has joined #cinch
<UberDragon> is there anyway to set the output to shell level? I don't want to log to a file.. but I want to control what is displayed on screen while bot runs
<catepillar> UberDragon: it should default to stdout
<UberDragon> right now I have in my bot.rb -> http://pastebin.com/aKkLXsYX
<UberDragon> the third line seems to control what goes to stdout
<UberDragon> but it doesn't work without the first line (which logs everything to file)
<UberDragon> and without those lines.. stdout is full on debug mode heh
<UberDragon> for now I'm just auto deleting the file everytime the bot is initialized but still would rather figure out the "right way" to handle it
<catepillar> sorry, got a bit distracted... you are trying to send some things to a log file, and print others on stdout?
<catepillar> a hacky way to do it if you are using linux is to open "/dev/null" for your file
<catepillar> and just using bot.loggers = :warn is working for me
<UberDragon> if I use just bot.loggers = :warn it hangs before connection :/
<catepillar> it's not printing anything out
<catepillar> but it's still connecting for me
<catepillar> and i wouldn't expect it to be printing with a level of warn
<UberDragon> hm
<UberDragon> I set mine to :log
<UberDragon> to be perfectly honest
<UberDragon> same result if I set to :debug
<catepillar> is yours failing to connect with :log?
<UberDragon> yes, the message about trying to connect to server never shows up and it just hangs
rickmasta has quit [Quit: Leaving...]
<UberDragon> last thing I see is webrick starting up
<catepillar> and you are giving it a valid server to connect to?
<UberDragon> yes.. if I remove the bot.logger line it connects in debug stdout
<UberDragon> if I add the three lines from my pastebin link it connects as expected
<UberDragon> it never gets to the bot.start lines (bot.logger is just above it)
rickmasta has joined #cinch
<catepillar> that's how I have been testing
<catepillar> i have the config block just above it
<catepillar> then a single bot.loggers = :warn # or :log or :debug
<catepillar> then bot.start
<UberDragon> yup same here.. config block above.. then logger line.. then bot start thread block
<catepillar> everything is working how I would expect it to
<catepillar> might need someone more experienced than me to weigh in here
<UberDragon> /dev/null works :P
<UberDragon> bot loads right up.. and at least I don't have to clean up log files
<UberDragon> hehe
ILoveYou has joined #cinch
<UberDragon> looks like I can ommit the 1st line.. and use the 2nd and third.. all works as expected and no /dev/null log ;)
<UberDragon> !plugin reload ChannelStats
<UberDragon> mt
space has joined #cinch
rikai has quit [Ping timeout: 256 seconds]
jonahR has joined #cinch
jonahR has quit [Client Quit]
jonahR has joined #cinch
jonahR has quit [Client Quit]
jonahR has joined #cinch
txdv has joined #cinch
jonahR has quit [Quit: jonahR]
jonahR has joined #cinch
Spami has joined #cinch
Spami has joined #cinch
jonahR has quit [Quit: jonahR]
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
postmodern has quit [Quit: Leaving]
space has quit [Ping timeout: 268 seconds]
rikai has joined #cinch
kx has joined #cinch
ILoveYou has quit [Ping timeout: 264 seconds]
space has joined #cinch
Spami has joined #cinch
rikai has quit [Read error: Connection reset by peer]
rikai has joined #cinch
rikai_ has joined #cinch
rikai has quit [Ping timeout: 256 seconds]
rikai has joined #cinch
rikai_ has quit [Ping timeout: 268 seconds]
jonahR has joined #cinch
ILoveYou has joined #cinch