projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lots of changes. They aren't visible though.
[egate.git]
/
res+log
/
gw-log-test.c
diff --git
a/res+log/gw-log-test.c
b/res+log/gw-log-test.c
index
4cadd56
..
244a759
100644
(file)
--- a/
res+log/gw-log-test.c
+++ b/
res+log/gw-log-test.c
@@
-47,7
+47,10
@@
* Europagate, 1994-1995.
*
* $Log: gw-log-test.c,v $
* Europagate, 1994-1995.
*
* $Log: gw-log-test.c,v $
- * Revision 1.5 1995/05/16 09:40:48 adam
+ * Revision 1.6 1995/12/01 12:41:03 adam
+ * Bug fix.
+ *
+ * Revision 1.5 1995/05/16 09:40:48 adam
* LICENSE.
*
* Revision 1.4 1995/04/10 13:20:25 adam
* LICENSE.
*
* Revision 1.4 1995/04/10 13:20:25 adam
@@
-71,8
+74,15
@@
int main (int argc, char **argv)
{
int main (int argc, char **argv)
{
+ int i;
gw_log_init (*argv);
gw_log_init (*argv);
+ for (i = 1; i<argc; i++)
+ {
+ printf ("level %s -> %u\n", argv[i], gw_log_mask_str (argv[i]));
+ fflush (stdout);
+ }
+
gw_log_file (GW_LOG_ALL, "all.log");
gw_log_file (GW_LOG_WARN, "warn.log");
gw_log_file (GW_LOG_ALL, "all.log");
gw_log_file (GW_LOG_WARN, "warn.log");