author | yippi |
Mon, 27 Sep 2010 21:07:51 +0000 | |
changeset 20108 | 51df67ca9307 |
parent 15055 | aa8338d4cdb2 |
permissions | -rw-r--r-- |
15055 | 1 |
/jds/bin/diff -uprN gnome-utils-2.25.90.old/logview/data/gnome-system-log.1 gnome-utils-2.25.90/logview/data/gnome-system-log.1 |
2 |
--- gnome-utils-2.25.90.old/logview/data/gnome-system-log.1 2009-02-10 16:55:36.147962000 +0000 |
|
3 |
+++ gnome-utils-2.25.90/logview/data/gnome-system-log.1 2009-02-10 17:01:01.284029000 +0000 |
|
12964 | 4 |
@@ -1,6 +1,7 @@ |
5 |
.\" gnome-system-log.1 - GNOME logfile viewer |
|
6 |
.\" Copyright 2001 Jochen Voss |
|
7 |
-.TH gnome-system-log 1 "Aug 09 2002" "gnome-utils 2.0.0" |
|
15055 | 8 |
+'\" te |
9 |
+.TH gnome-system-log 1 "Aug 09 2002" "gnome-utils 2.26.0" |
|
12964 | 10 |
.SH NAME |
11 |
gnome-system-log \- the GNOME System Log Viewer |
|
12 |
.SH SYNOPSIS |
|
15055 | 13 |
@@ -19,10 +20,76 @@ The |
12964 | 14 |
.B GNOME System Log Viewer |
15 |
was written by Cesar Miquel <[email protected]>. |
|
16 |
.PP |
|
17 |
+.B GNOME System Log Viewer Plugin Interface |
|
18 |
+was written by Lin Ma <[email protected]>. |
|
19 |
+.PP |
|
20 |
This manual page was written by Jochen Voss |
|
21 |
<[email protected]>. |
|
22 |
+.TP |
|
23 |
+.B I/O (LogviewIFaceIO) |
|
24 |
+This defines the main input interface. This is used by Log Viewer to |
|
25 |
+read a logs content into memory, whether the logs source is text or |
|
26 |
+binary, the data returned here should be text - most likely in the |
|
27 |
+current locale. It also provides methods to allow the main application |
|
28 |
+to get other information about the log such as whether the log has |
|
29 |
+changed. |
|
30 |
+ |
|
31 |
+It's the reposibility of the plugin to maintain information about the |
|
32 |
+log file(s) such as the current location in the file, the size of the |
|
33 |
+file, etc. |
|
34 |
+.TP |
|
35 |
+.B Views (LogviewIFaceView) |
|
36 |
+This interface defines a mechanism to enable the formatting of log |
|
37 |
+data, dividing it into lines. The current implementation defines how to |
|
38 |
+group lines by date and the conversion of the log from the current |
|
39 |
+locale to UTF-8. |
|
40 |
+.TP |
|
41 |
+.B Collectors (LogviewIFaceCollector) |
|
42 |
+This interface is used to gather the list of logs. New types of logs |
|
43 |
+may be added using this interface. |
|
44 |
+.RE |
|
45 |
+ |
|
46 |
+For the detail information, please see /usr/share/gtk-doc/html/logview/index.html. |
|
47 |
+.TP |
|
48 |
+.B Plugin Priority |
|
49 |
+A priority list is maintained for each category of plugin - this defines |
|
50 |
+the order in which plugins will be used - higher priority plugins override |
|
51 |
+lower priority plugins. Priorities are categorised as: |
|
52 |
+ |
|
53 |
+.br |
|
54 |
+Priority 0-9: Used by the delivered default plugins |
|
55 |
+.br |
|
56 |
+Priority 10+: End Users plugins. |
|
57 |
+.TP |
|
58 |
+.B Plugin Search Path |
|
59 |
+Log Viewer will search in the following directories for plugins: |
|
60 |
+ |
|
61 |
+.br |
|
62 |
+$HOME/.gnome2/gnome-system-log/plugins/`uname -p` |
|
63 |
+.br |
|
64 |
+/lib/gnome-system-log/plugins |
|
65 |
+.TP |
|
66 |
+.B Plugin Security |
|
67 |
+Both libgrablogs and libpipelog only recognize the configure file which has the |
|
68 |
+same owner ship to the user, otherwise they will back to the system default |
|
69 |
+ones. In Solaris, they will use a fork/exec/pfsh to run the commands within the |
|
70 |
+configure files; in Linux, they will use popen(3). |
|
71 |
+.TP |
|
72 |
+.B Default Plugins |
|
73 |
+Three plugins are available for the end-users. They are libgrablogs.so, |
|
74 |
+libplainlog.so and libpipelog.so. |
|
75 |
.SH FILES |
|
76 |
.TP |
|
77 |
+.I /usr/lib/gnome-system-log/plugins/libgrablogs.so |
|
78 |
+A default plugin - collecting some log files from system. See grablogs.conf (4). |
|
79 |
+.TP |
|
80 |
+.I /usr/lib/gnome-system-log/plugins/libplainlog.so |
|
81 |
+A default plugin - view ASCII log files. |
|
82 |
+.TP |
|
83 |
+.I /usr/lib/gnome-system-log/plugins/libpipelog.so |
|
84 |
+A default plugin - has a higher priority than libplainlog.so, view the output |
|
85 |
+of a command. See pipelog.conf (4). |
|
86 |
+.TP |
|
87 |
.I /var/log/messages |
|
88 |
The system's main logfile. |
|
89 |
.TP |
|
15055 | 90 |
@@ -30,8 +97,27 @@ The system's main logfile. |
12964 | 91 |
Configuration file for syslogd. See |
92 |
.BR syslog.conf (5) |
|
93 |
for exact information. |
|
94 |
+.RE |
|
95 |
+ |
|
96 |
+.SH ATTRIBUTES |
|
97 |
+.sp |
|
98 |
+.PP |
|
99 |
+See \fBattributes\fR(5) for descriptions of the following attributes: |
|
100 |
+ |
|
101 |
+.TS |
|
102 |
+tab(^G) allbox; |
|
103 |
+cw(2.750000i)| cw(2.750000i) |
|
104 |
+lw(2.750000i)| lw(2.750000i). |
|
12992
6744c360f074
* base-specs/gnome-utils.spec : Add new man page attributes patch
mattman
parents:
12964
diff
changeset
|
105 |
+ATTRIBUTE TYPE^ATTRIBUTE VALUE |
6744c360f074
* base-specs/gnome-utils.spec : Add new man page attributes patch
mattman
parents:
12964
diff
changeset
|
106 |
+Availability^SUNWgnome-log-viewer |
12964 | 107 |
+Interface stability^GVolatile |
108 |
+.TE |
|
109 |
+ |
|
110 |
.SH SEE ALSO |
|
111 |
.BR syslogd (8), |
|
112 |
.BR sysklogd (8), |
|
113 |
.BR syslog.conf (5), |
|
114 |
-.BR syslogd-listfiles (8) |
|
115 |
+.BR syslogd-listfiles (8), |
|
116 |
+.BR grablogs.conf (4), |
|
15055 | 117 |
+.BRE pipelog.conf (4) |
12964 | 118 |
+.\" LSARC 2006/325 Gnome System Log Viewer |
15055 | 119 |
/jds/bin/diff -uprN gnome-utils-2.25.90.old/logview/data/grablogs.conf.4 gnome-utils-2.25.90/logview/data/grablogs.conf.4 |
120 |
--- gnome-utils-2.25.90.old/logview/data/grablogs.conf.4 1970-01-01 01:00:00.000000000 +0100 |
|
121 |
+++ gnome-utils-2.25.90/logview/data/grablogs.conf.4 2009-02-10 17:02:03.311007000 +0000 |
|
12964 | 122 |
@@ -0,0 +1,79 @@ |
123 |
+'\" te |
|
124 |
+.\" gnome-system-log.1 - GNOME logfile viewer |
|
125 |
+.\" Copyright 1989 AT |
|
126 |
+.\"|[amp ] |
|
127 |
+.\"|T |
|
128 |
+.\" Copyright 2006 Lin Ma |
|
129 |
+.TH grablogs.conf 4 "13 Oct 2006" "gnome-utils 2.16.0" "File Formats" |
|
130 |
+.SH "NAME" |
|
131 |
+grablogs.conf \- grablogs configuration for libgrablogs.so of the plugins of |
|
132 |
+ gnome-system-log |
|
133 |
+file |
|
134 |
+.SH "SYNOPSIS" |
|
135 |
+.PP |
|
136 |
+.nf |
|
137 |
+/usr/lib/gnome-system-log/plugins/grablogs.conf |
|
138 |
+.fi |
|
139 |
+.SH "DESCRIPTION" |
|
140 |
+.PP |
|
141 |
+The libgrablogs.so is a plugin for gnome-system-log(1), it colloct the log |
|
142 |
+files from the system as many as possible. grablogs.conf is a configuration |
|
143 |
+file that contains a set of lines mixed with sh(1) syntax codes and individual |
|
144 |
+ log files. libgrablogs.so will read the file try to get a log files list for |
|
145 |
+ gnome-system-log(1). Users can copy the file into $HOME/.gnome2/gnome-system-log/plugins/`uname -p` to overwrite the system default one. |
|
146 |
+.PP |
|
147 |
+The grablogs.conf file contains the following configuration categories: |
|
148 |
+.RS |
|
149 |
+.TP |
|
150 |
+.B [configs] |
|
151 |
+Each line under this category is interpreted as a config file of |
|
152 |
+System. The plugin will open the config file and try to find all |
|
153 |
+system paths of the logs. |
|
154 |
+.TP |
|
155 |
+.B [commands] |
|
156 |
+Each line under this category is interpreted as a shell command and |
|
157 |
+will be execute through a pipe. And each line of the output of the |
|
158 |
+command will be interpreted as a log path. |
|
159 |
+.TP |
|
160 |
+.B [logs] |
|
161 |
+Each line under this category is interpreted as a log path. |
|
162 |
+.RE |
|
163 |
+.SH "FILES" |
|
164 |
+.TP |
|
165 |
+.I /usr/lib/gnome-system-log/plugins/grablogs.conf |
|
166 |
+The system default configuration file for the plugin libgrablogs.so |
|
167 |
+.TP |
|
168 |
+.I "$HOME/.gnome2/gnome\-system\-log/plugins/`uname \-p`/grablogs.conf" |
|
169 |
+The user specific configuration file for the plugin libgrablogs.so |
|
170 |
+.SH "EMAMPLE" |
|
171 |
+.br |
|
172 |
+.B [configs] |
|
173 |
+.br |
|
174 |
+.IR /etc/syslog.conf |
|
175 |
+.br |
|
176 |
+.B [commands] |
|
177 |
+.br |
|
178 |
+.IR "for i in `svcs -aH -o FMRI | grep -v lrc `; do svcprop -p restarter/logfile $i 2>/dev/null || svcprop -q -p restarter/alt_logfile $i 2>/dev/null ; done" |
|
179 |
+.br |
|
180 |
+.B [logs] |
|
181 |
+.br |
|
182 |
+.IR /var/log/messages |
|
183 |
+.br |
|
184 |
+.IR /var/log/secure |
|
185 |
+.br |
|
186 |
+.IR /var/log/maillog |
|
187 |
+.br |
|
188 |
+.IR /var/log/cron |
|
189 |
+.br |
|
190 |
+.IR /var/log/Xorg.0.log |
|
191 |
+.br |
|
192 |
+.IR /var/log/XFree86.0.log |
|
193 |
+.br |
|
194 |
+.IR /var/log/auth.log |
|
195 |
+.br |
|
196 |
+.IR /var/log/cups/error_log |
|
197 |
+.SH "SEE ALSO" |
|
198 |
+.PP |
|
199 |
+.BR gnome-system-log (1), |
|
200 |
+.BR pipelog.conf (1) |
|
201 |
+.PP |
|
15055 | 202 |
/jds/bin/diff -uprN gnome-utils-2.25.90.old/logview/data/pipelog.conf.4 gnome-utils-2.25.90/logview/data/pipelog.conf.4 |
203 |
--- gnome-utils-2.25.90.old/logview/data/pipelog.conf.4 1970-01-01 01:00:00.000000000 +0100 |
|
204 |
+++ gnome-utils-2.25.90/logview/data/pipelog.conf.4 2009-02-10 17:02:51.656120000 +0000 |
|
12964 | 205 |
@@ -0,0 +1,49 @@ |
206 |
+'\" te |
|
207 |
+.\" gnome-system-log.1 - GNOME logfile viewer |
|
208 |
+.\" Copyright 1989 AT |
|
209 |
+.\"|[amp ] |
|
210 |
+.\"|T |
|
211 |
+.\" Copyright 2006 Lin Ma |
|
212 |
+.TH pipelog.conf 4 "13 Oct 2006" "gnome-utils 2.16.0" "File Formats" |
|
213 |
+.SH "NAME" |
|
214 |
+pipelog.conf \- pipelog configuration for libpipelog.so of the plugins of |
|
215 |
+gnome-system-log |
|
216 |
+file |
|
217 |
+.SH "SYNOPSIS" |
|
218 |
+.PP |
|
219 |
+.nf |
|
220 |
+/usr/lib/gnome-system-log/plugins/pipelog.conf |
|
221 |
+.fi |
|
222 |
+.SH "DESCRIPTION" |
|
223 |
+.PP |
|
224 |
+The libpipelog.so is a plugin for gnome-system-log(1), it runs commands through |
|
225 |
+ pipes and get the output of the individual pipe as a log content. Users can |
|
226 |
+ copy the file into $HOME/.gnome2/gnome-system-log/plugins/`uname -p` to |
|
227 |
+ overwrite the system default one. |
|
228 |
+.PP |
|
229 |
+The syntax of pipelog.conf file is: |
|
230 |
+.br |
|
231 |
+.RS .5i |
|
232 |
+<log path><whitespace><command> |
|
233 |
+ |
|
234 |
+.RE |
|
235 |
+<command> may be a simple program name (which will be found in $PATH) |
|
236 |
+or an absolute path of a binary with arguments list. "%s" can be included in |
|
237 |
+<command> zero or one time, will be replaced by <log path> in runtime. |
|
238 |
+.SH "FILES" |
|
239 |
+.TP |
|
240 |
+.I /usr/lib/gnome-system-log/plugins/pipelog.conf |
|
241 |
+The system default configuration file for the plugin libpipelog.so |
|
242 |
+.TP |
|
243 |
+.I "$HOME/.gnome2/gnome\-system\-log/plugins/`uname \-p`/pipelog.conf" |
|
244 |
+The user specific configuration file for the plugin libpipelog.so |
|
245 |
+.SH "EMAMPLE" |
|
246 |
+.IR "/var/adm/wtmpx last" |
|
247 |
+.br |
|
248 |
+.IR "/var/adm/utmpx /bin/last -f %s" |
|
249 |
+.SH "SEE ALSO" |
|
250 |
+.PP |
|
251 |
+.BR gnome-system-log (1), |
|
252 |
+.BR grablogs.conf (4) |
|
253 |
+.PP |
|
254 |
+.\" LSARC 2006/325 Gnome System Log Viewer |