We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069ab6e commit 526e648Copy full SHA for 526e648
bin/v-log-event
@@ -31,7 +31,16 @@ date=$(echo "$time_n_date" |cut -f 2 -d \ )
31
#----------------------------------------------------------#
32
33
34
-
+# Provide context switch for different log types
35
+if [ "$log_type" = "user" ]; then
36
+ log_history "$message" '' "$user"
37
+ exit
38
+fi
39
+
40
+if [ "$log_type" = "system" ]; then
41
+ log_history "$message" '' 'admin'
42
43
44
45
46
0 commit comments