-/* @(#) $Id: cleanevent.c,v 1.42 2009/06/24 17:06:21 dcid Exp $ */
+/* @(#) $Id$ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation.
*
* License details at the LICENSE file included with OSSEC or
#ifdef TESTRULE
- print_out("**Phase 1: Completed pre-decoding.");
- print_out(" full event: '%s'", lf->full_log);
- print_out(" hostname: '%s'", lf->hostname);
- print_out(" program_name: '%s'", lf->program_name);
- print_out(" log: '%s'", lf->log);
+ if(!alert_only)
+ {
+ print_out("**Phase 1: Completed pre-decoding.");
+ print_out(" full event: '%s'", lf->full_log);
+ print_out(" hostname: '%s'", lf->hostname);
+ print_out(" program_name: '%s'", lf->program_name);
+ print_out(" log: '%s'", lf->log);
+ }
#endif
return(0);