diff --git a/data/org.ukui.log4qt.ukui-search.gschema.xml b/data/org.ukui.log4qt.ukui-search.gschema.xml new file mode 100644 index 0000000..c36f8d9 --- /dev/null +++ b/data/org.ukui.log4qt.ukui-search.gschema.xml @@ -0,0 +1,39 @@ + + + + "true" + hook qt messages + Control if hook qt messages + + + "WARN,console,daily" + config rootLogger's level and appenders + config rootLogger's level and appenders:"level,appender" + + + ".yyyy-MM-dd" + daily log file pattern + set daily log file pattern format:one day + + + "%d{yyyy-MM-dd HH:mm:ss,zzz}(%-4r)[%t]|%-5p| - %m%n" + set log message's format + set log message's format + + + 3600 + set check log files delay time + set check log files delay time + + + 7 + set log files count + set log files count,unit s + + + 512 + set log files total size + set log files total size, unit M + + + diff --git a/src/src.pro b/src/src.pro index d7c9c01..95c5353 100644 --- a/src/src.pro +++ b/src/src.pro @@ -59,7 +59,7 @@ data-menu.files += ../data/ukui-search-menu.desktop data.path = /etc/xdg/autostart data.files += ../data/ukui-search.desktop schemes.path = /usr/share/glib-2.0/schemas/ -schemes.files += ../data/org.ukui.search.data.gschema.xml +schemes.files += ../data/org.ukui.search.data.gschema.xml ../data/org.ukui.log4qt.ukui-search.gschema.xml INSTALLS += data data-menu schemes RESOURCES += \ @@ -91,4 +91,5 @@ DEPENDPATH += $$PWD/../libsearch # $$OUT_PWD/.qm/zh_CN.qm DISTFILES += \ + ../data/org.ukui.log4qt.ukui-search.gschema.xml \ ../data/org.ukui.search.data.gschema.xml