~ubuntu-branches/ubuntu/trusty/syslog-ng/trusty-proposed

« back to all changes in this revision

Viewing changes to src/stats.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2010-03-28 19:47:36 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100328194736-1ob7kh1qr0fy8b9k
Tags: 3.1.0-1
* New upstream release.
* Fix path of syslog logfile (closes: #575722) and use tty10 instead of
  vc/10 to log on console.
* Provide syslog-ng in initscript (closes: #575723).

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
  StatsCounter key;
108
108
  StatsCounter *sc;
109
109
 
110
 
  if (!configuration || stats_level < 0 || configuration->stats_level < stats_level)
 
110
  if (stats_level != 0 && (!configuration || stats_level < 0 || configuration->stats_level < stats_level))
111
111
    return NULL;
112
112
  
113
113
  if (!id)
114
114
    id = "";
115
115
  if (!instance)
116
116
    instance = "";
117
 
 
118
117
  
119
118
  key.source = source;
120
119
  key.id = (gchar *) id;
302
301
  "group",
303
302
  "center",
304
303
  "host",
 
304
  "global",
305
305
};
306
306
 
307
307