diff options
author | Dr Scofield | 2009-04-17 16:00:02 +0000 |
---|---|---|
committer | Dr Scofield | 2009-04-17 16:00:02 +0000 |
commit | 91bd87add1c03aef5141d468889a4965da5f6eba (patch) | |
tree | a3b39d1b686d82630cdd08eeca6fc7b794b5dc29 | |
parent | Update svn properties. (diff) | |
download | opensim-SC_OLD-91bd87add1c03aef5141d468889a4965da5f6eba.zip opensim-SC_OLD-91bd87add1c03aef5141d468889a4965da5f6eba.tar.gz opensim-SC_OLD-91bd87add1c03aef5141d468889a4965da5f6eba.tar.bz2 opensim-SC_OLD-91bd87add1c03aef5141d468889a4965da5f6eba.tar.xz |
- disabling logging of non-system IRC messages
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Chat/IRCConnector.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Chat/IRCConnector.cs b/OpenSim/Region/OptionalModules/Avatar/Chat/IRCConnector.cs index f5c324d..5123ef5 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Chat/IRCConnector.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Chat/IRCConnector.cs | |||
@@ -426,8 +426,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat | |||
426 | public void PrivMsg(string pattern, string from, string region, string msg) | 426 | public void PrivMsg(string pattern, string from, string region, string msg) |
427 | { | 427 | { |
428 | 428 | ||
429 | m_log.DebugFormat("[IRC-Connector-{0}] PrivMsg to IRC from {1}: <{2}>", idn, from, | 429 | // m_log.DebugFormat("[IRC-Connector-{0}] PrivMsg to IRC from {1}: <{2}>", idn, from, |
430 | String.Format(pattern, m_ircChannel, from, region, msg)); | 430 | // String.Format(pattern, m_ircChannel, from, region, msg)); |
431 | 431 | ||
432 | // One message to the IRC server | 432 | // One message to the IRC server |
433 | 433 | ||
@@ -435,7 +435,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat | |||
435 | { | 435 | { |
436 | m_writer.WriteLine(pattern, m_ircChannel, from, region, msg); | 436 | m_writer.WriteLine(pattern, m_ircChannel, from, region, msg); |
437 | m_writer.Flush(); | 437 | m_writer.Flush(); |
438 | m_log.DebugFormat("[IRC-Connector-{0}]: PrivMsg from {1} in {2}: {3}", idn, from, region, msg); | 438 | // m_log.DebugFormat("[IRC-Connector-{0}]: PrivMsg from {1} in {2}: {3}", idn, from, region, msg); |
439 | } | 439 | } |
440 | catch (IOException) | 440 | catch (IOException) |
441 | { | 441 | { |
@@ -453,13 +453,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat | |||
453 | public void Send(string msg) | 453 | public void Send(string msg) |
454 | { | 454 | { |
455 | 455 | ||
456 | m_log.DebugFormat("[IRC-Connector-{0}] Send to IRC : <{1}>", idn, msg); | 456 | // m_log.DebugFormat("[IRC-Connector-{0}] Send to IRC : <{1}>", idn, msg); |
457 | 457 | ||
458 | try | 458 | try |
459 | { | 459 | { |
460 | m_writer.WriteLine(msg); | 460 | m_writer.WriteLine(msg); |
461 | m_writer.Flush(); | 461 | m_writer.Flush(); |
462 | m_log.DebugFormat("[IRC-Connector-{0}] Sent command string: {1}", idn, msg); | 462 | // m_log.DebugFormat("[IRC-Connector-{0}] Sent command string: {1}", idn, msg); |
463 | } | 463 | } |
464 | catch (IOException) | 464 | catch (IOException) |
465 | { | 465 | { |
@@ -658,10 +658,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat | |||
658 | case "366" : // End-of-Name list marker | 658 | case "366" : // End-of-Name list marker |
659 | case "372" : // MOTD body | 659 | case "372" : // MOTD body |
660 | case "375" : // MOTD start | 660 | case "375" : // MOTD start |
661 | m_log.InfoFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); | 661 | // m_log.InfoFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); |
662 | break; | 662 | break; |
663 | case "376" : // MOTD end | 663 | case "376" : // MOTD end |
664 | m_log.InfoFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); | 664 | // m_log.InfoFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); |
665 | motd = true; | 665 | motd = true; |
666 | break; | 666 | break; |
667 | case "451" : // Not registered | 667 | case "451" : // Not registered |
@@ -686,7 +686,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Chat | |||
686 | m_pending = false; | 686 | m_pending = false; |
687 | break; | 687 | break; |
688 | case "NOTICE" : | 688 | case "NOTICE" : |
689 | m_log.WarnFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); | 689 | // m_log.WarnFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); |
690 | break; | 690 | break; |
691 | case "ERROR" : | 691 | case "ERROR" : |
692 | m_log.ErrorFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); | 692 | m_log.ErrorFormat("[IRC-Connector-{0}] [{1}] {2}", idn, cmd, parms.Split(CS_SPACE,2)[1]); |