text_combined: tim golden cggctimgoldenmeuk daren russell wrote ive look wmi module hope able read event logs windows server save standard text file archival purposes however method see backupeventlog method kind figured opened log loop could read event logged doesnt seem case im bit dumb possible read individual events already written log file using module documented method ive found watcher method want pointers relevant documentation snippets code appreciated welcome wmi theres much wmi stuff around web usually referring python usually search wmi read event log enough set right path httpwwwgooglecouksearchqwmireadeventlog obviously translate examples python rarely difficult youve got hang get going heres really basic query making use fact get name relevant wmi class watcher example refer import wmi c wmiwmi put server needed cwin32_ntlogevent print break since print bit outputs useful dump see win32_ntlogevent records fields eventtype logfile eventtype search httpwwwgooglecouksearchqwin32_ntlogeventeventtype amounts 2 say warnings taken together query system log warnings like might want qualify time well import wmi c wmiwmi log cwin32_ntlogevent eventtype2 logfilesystem print log hope gets way tjg _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 144614 0000 pythonwin32 reading events event logs using wmi