This is my item key:
logrt["/home/xxx/log/*/mylog\.logfile","Error"]
I do not want to use the "normal" function from logrt. I only use this, because this is the only possible way to use regular expressions in the log path. The full path is: /home/xxx/log/server1/mylog.logfile
The error code is:
Cannot obtain directory information: [2] No such file or directory
I have tried different combinations of regex but nothing will work. Any ideas?
You can't use regex on the directory path, according to the documentation:
Regular expressions for logrt are supported in filename only, directory regular expression matching is not supported.