Skip to content

Commit 8161215

Browse files
committed
added new filter field to readme
1 parent d6549f8 commit 8161215

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ To stop recording, just unmount as usual:
112112
Configuration
113113
=============
114114

115-
LoggedFS-python can use an XML configuration file if you want it to log
116-
operations only for certain files, for certain users, or for certain operations.
117-
The format is fully compatible with LoggedFS' original format.
115+
LoggedFS-python can use an XML configuration file if you want it to log operations only for certain files, for certain users, or for certain operations. LoggedFS-python is fully compatible with configuration files in LoggedFS' original format. Yet it can also handle additional fields (e.g. the ``command`` field).
118116

119117
Here is a sample configuration file :
120118

@@ -124,12 +122,12 @@ Here is a sample configuration file :
124122
125123
<loggedFS logEnabled="true" printProcessName="true">
126124
<includes>
127-
<include extension=".*" uid="*" action=".*" retname=".*"/>
125+
<include extension=".*" uid="*" action=".*" retname=".*" command=".*"/>
128126
</includes>
129127
<excludes>
130-
<exclude extension=".*\.bak$" uid="*" action=".*" retname="SUCCESS"/>
131-
<exclude extension=".*" uid="1000" action=".*" retname="FAILURE"/>
132-
<exclude extension=".*" uid="*" action="getattr" retname=".*"/>
128+
<exclude extension=".*\.bak$" uid="*" action=".*" retname="SUCCESS" command=".*"/>
129+
<exclude extension=".*" uid="1000" action=".*" retname="FAILURE" command=".*"/>
130+
<exclude extension=".*" uid="*" action="getattr" retname=".*" command=".*"/>
133131
</excludes>
134132
</loggedFS>
135133

0 commit comments

Comments
 (0)