[checkmk-commits] Check_MK Git: check_mk: windows agent: remove some logging output

git version control git at mathias-kettner.de
Fri Nov 2 13:08:22 CET 2012


Module: check_mk
Branch: master
Commit: 9a21f92b5b74a490ee930944ea2f7d6c3744c370
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9a21f92b5b74a490ee930944ea2f7d6c3744c370

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Fri Nov  2 13:07:13 2012 +0100

windows agent: remove some logging output

---

 agents/windows/check_mk_agent.cc  |    4 +---
 agents/windows/check_mk_agent.exe |  Bin 109568 -> 109568 bytes
 agents/windows/install_agent.exe  |  Bin 129962 -> 129941 bytes
 3 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/agents/windows/check_mk_agent.cc b/agents/windows/check_mk_agent.cc
index 15c945e..aacb292 100755
--- a/agents/windows/check_mk_agent.cc
+++ b/agents/windows/check_mk_agent.cc
@@ -1427,7 +1427,6 @@ void update_or_create_logwatch_textfile(const char *full_filename, pattern_conta
     logwatch_textfile *textfile;
     if ((textfile = get_logwatch_textfile(full_filename)) != NULL) 
     {
-        printf("File already exists %s\n", full_filename);
         HANDLE hFile = CreateFile(textfile->path,// file to open
                GENERIC_READ,          // open for reading
                FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
@@ -1461,7 +1460,7 @@ void update_or_create_logwatch_textfile(const char *full_filename, pattern_conta
             }
             CloseHandle(hFile);
         } else {
-            printf("Cant open file with CreateFile\n");
+            printf("Cant open file with CreateFile %s\n", full_filename);
         }
 
     }
@@ -2831,7 +2830,6 @@ void read_config_file()
         }
     }
     fclose(file);
-    print_logwatch_config();
 }
 
 
diff --git a/agents/windows/check_mk_agent.exe b/agents/windows/check_mk_agent.exe
index 59e9dd9..d2bf124 100755
Binary files a/agents/windows/check_mk_agent.exe and b/agents/windows/check_mk_agent.exe differ
diff --git a/agents/windows/install_agent.exe b/agents/windows/install_agent.exe
index fbab14f..c372d48 100755
Binary files a/agents/windows/install_agent.exe and b/agents/windows/install_agent.exe differ



More information about the checkmk-commits mailing list