Discussion:
permanent logging in irssi across networks/servers and channels.
shirish शिरीष
2013-01-24 06:43:04 UTC
Permalink
Hi all,
First of all thanx to all the devs. who made lot of pains making
irssi. It's a good IRC client and there are a few issues/bugs or stuff
I don't know which would make it great.

For e.g. Is there a way to have permanent logging in irssi across
networks/servers and channels where I participate in ?

I saw this :-

http://irssi.org/documentation/startup#c7

"Easiest way to start logging with Irssi is to use autologging. With
it Irssi logs all channels and private messages to specified
directory. You can turn it on with

/SET autolog ON

By default it logs pretty much everything execept CTCPS or CRAP
(/WHOIS requests, etc). You can specify the logging level yourself
with

/SET autolog_level ALL -CRAP -CLIENTCRAP -CTCPS (this is the default)

By default irssi logs to ~/irclogs/<servertag>/<target>.log. You can
change this with

/SET autolog_path ~/irclogs/$tag/$0.log (this is the default)

The path is automatically created if it doesn't exist. $0 specifies
the target (channel/nick). You can make irssi automatically rotate the
logs by adding date/time formats to the file name. The formats are in
"man strftime" format. For example

/SET autolog_path ~/irclogs/%Y/$tag/$0.%m-%d.log

For logging only some specific channels or nicks, see /HELP log " -
irssi documentation

Now my first issue with irssi is/would be /SET autolog ON as this
seems to be a switch which I would have to manually turn on. Isn't
there a way to turn it on automatically so the moment I switch to
irssi via CLI logging is on ?

Once I understand how to achieve this would ask couple of more queries
in this regard.

Another query is if I do /HELP in irssi how do I get out of it ?

Looking forward to info.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
H6r6tiqu6
2013-01-24 07:02:59 UTC
Permalink
This post might be inappropriate. Click to display it.
Aleksey Tsalolikhin
2013-01-26 02:48:32 UTC
Permalink
Post by shirish शिरीष
For e.g. Is there a way to have permanent logging in irssi across
networks/servers and channels where I participate in ?
Run this:

/SET autolog_level ALL -CRAP -CLIENTCRAP -CTCPS
/SET autolog_path ~/irclogs/$tag/$0.log
/SET autolog ON
/SAVE

And it should save it to your config file.

Best,
-at
tamouse mailing lists
2013-02-02 06:18:52 UTC
Permalink
Post by shirish शिरीष
For e.g. Is there a way to have permanent logging in irssi across
networks/servers and channels where I participate in ?
I'm thinking the key thing you're missing is the /save command --
after you do all your configurations, use the /save command to write
the configuration to .irssi/config, and it will reload them all next
time you start.
tamouse mailing lists
2013-02-02 06:23:52 UTC
Permalink
Post by shirish शिरीष
Another query is if I do /HELP in irssi how do I get out of it ?
There is no "help" mode in irssi by default.* If you type /help, it
will display the output on whatever window is accepting CLIENTCRAP
messages, in the default config, that's the (status) window.

(* it's possible there are modules &/r scripts that do something different.)
Loading...