Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Debug.  (Read 2213 times)

0 Members and 1 Guest are viewing this topic.

Somebody

  • Guest
Debug.
« on: November 21, 2006, 02:44:19 AM »

How I can run IRCd and Services on debug mode, or diagnostic, this mode shows on shell what's happening on ircd/services, and everything that happens on network...

Like a real-time log...
Used by some coders to search for bugs and debug infos...


Thanks.
Logged

Szymek

  • Anope User
  • Offline Offline
  • Posts: 8
(No subject)
« Reply #1 on: November 21, 2006, 09:52:00 AM »

Quote

(...)
4) Command Line Options
(...)
    Additionally, the following command-line options can be used to modify
    the behavior of Anope:

        -debug          Enable debugging mode; more info sent to log (give
                            option more times for more info)


You can use tail + grep and you will have real-time log... ;-)

[Edited on 21-11-2006 by Szymek]
Logged
Szymek

Somebody

  • Guest
(No subject)
« Reply #2 on: November 30, 2006, 09:58:21 PM »

How can I log services/ircd messages on stdout? My friend made it, and now I need do it, thanks people :)
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #3 on: December 01, 2006, 08:05:02 AM »

If you want services to log to stdout (its stdout or stderr, i cant check right now), you can use -nofork, which will keep services in the foreground.
Logged
Pages: [1]   Go Up