You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,3 +276,13 @@ achieved on CentOS 7 with e.g. (as root):
276
276
This can be done by specifying in infoLoggerD configuration the rxSocketPath parameter, and name it with a path starting with '/', e.g. '/tmp/infoLoggerD.socket'.
277
277
The same value has to be set for the client configuration, in the txSocketPath key.
278
278
User is responsible to ensure that file access permissions are configured properly.
279
+
280
+
* infoLoggerD local cache
281
+
282
+
infoLoggerD stores messages in a persistent local file until messages are successfully transmitted and acknowledged by infoLoggerServer.
283
+
When infoLoggerServer is unavailable for a long time, messages may accumulate locally. They will all be transmitted to infoLoggerServer when available again.
284
+
In some cases, one may want to delete this local cache.
285
+
This can be configured on startup of infoLoggerD by one of the following ways:
286
+
- in the infoLoggerD configuration section, set: `msgQueueReset=1` (this is permanent, done on each startup of infoLoggerD, which might not be what you want)
287
+
- when starting infoLoggerD process from the command line (not with the systemctl service), add option: `-o msgQueueReset=1`
288
+
- create a file named [msgQueuePath].reset (by default, msgQueuePath=/tmp/infoLoggerD/infoLoggerD.queue), e.g. `touch /tmp/infoLoggerD/infoLoggerD.queue.reset`. This will reset the queue on next startup (by hand or with e.g. service infoLoggerD restart), and the reset file will also be deleted (which ensures cleanup is done once only).
Copy file name to clipboardExpand all lines: src/infoLoggerAdminDB.cxx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,7 @@ int main(int argc, char* argv[])
221
221
unsigned, username varchar(32), `system` varchar(32), facility varchar(32), detector varchar(32), `partition` varchar(32), run int unsigned, errcode int unsigned, \
222
222
errline smallint unsigned, errsource varchar(32), message text, index ix_severity(severity), index ix_level(level), index ix_timestamp(timestamp), index \
223
223
ix_hostname(hostname(14)), index ix_rolename(rolename(20)), index ix_system(`system`(3)), index ix_facility(facility(20)), index ix_detector(detector(8)), index \
224
-
ix_partition(`partition`(10)), index ix_run(run), index ix_errcode(errcode), index ix_errline(errline), index ix_errsource(errsource(20))) ENGINE=MyISAM";
224
+
ix_partition(`partition`(10)), index ix_run(run), index ix_errcode(errcode), index ix_errline(errline), index ix_errsource(errsource(20)))";
0 commit comments