Skip to content

Commit f2de428

Browse files
committed
cli
1 parent f7b2ab2 commit f2de428

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,37 @@ To stop recording, just unmount as usual:
100100
sudo fusermount -u /tmp/TEST
101101
102102
103+
CLI usage
104+
=========
105+
106+
.. code:: bash
107+
108+
loggedfs --help
109+
Usage: loggedfs [OPTIONS] DIRECTORY
110+
111+
Options:
112+
-f Do not start as a daemon. Write logs to stdout
113+
if no log file is specified.
114+
115+
-p Allow every user to see the new loggedfs.
116+
-c FILENAME Use the "config-file" to filter what you want
117+
to log.
118+
119+
-s Deactivate logging to syslog.
120+
-l FILE Use the "log-file" to write logs to.
121+
-j, --json Format output as JSON instead of traditional
122+
loggedfs format.
123+
124+
-b, --buffers Include read/write-buffers (compressed,
125+
BASE64) in log.
126+
127+
-m, --only-modify-operations Exclude logging of all operations that can not
128+
cause changes in the filesystem. Convenience
129+
flag for accelerated logging.
130+
131+
--help Show this message and exit.
132+
133+
103134
Configuration
104135
=============
105136

0 commit comments

Comments
 (0)