mod dav svn apache custom log -
are there additional details svn repo or file can logged when creating custom apache log, besides {svn-repos-name} , {svn-action} mod dav svn , apache?
logformat "%{%y-%m-%d %t}t %u@%h %>s repo:%{svn-repos-name}e %{svn-action}e (%b bytes in %t sec)" svn_log customlog /var/log/httpd/subversion_log svn_log env=svn-action
update:
i confirm target dir recorded in log file no changes code above. tested on root repo folder, no folder recorded on log.
i confirm file logged no changes code above, when opened tortoise svn -> repo browser, text editor notepad++. if file opened example internet explorer, get-file action not recorded in logfile.
the question still stands info only: there additional params can added logformat line ?
thank in advance.
there svn-repos
environment variable, holds full filesystem path repo (as opposed svn-repos-name
, holds basename). see section on apache logging in svn documentation details.
in addition svn-action
, svn-repos
, , svn-repos-name
, there other apache logging format specifiers can use more details http request itself, not svn repo per se.
Comments
Post a Comment