How to register "mod_alias" logs into error_log file

I am testing redirect rules in a htaccess file.
I am using
LogLevel alert rewrite:trace6

Open in new window

to register logs for "mod_rewrite" module into error_log file however, I do not know how to register log for "mod_alias" modules. when I use mod_alias redirect rules such as redirect / redirectmatch , error_log display only "pass through"
Amit KumarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve BinkCommented:
There is no separate logging facility for mod_alias.  Also, mod_alias does not mangle or alter URLs - it only maps a URL to the file system.  

When you use a Redirect* directive, mod_alias is simply setting a response status, e.g., 301Moved Permanently.  Those response codes are logged (by default) as part of the standard apache log format.  In that sense, you can make sure mod_alias is being logged by using the default log format, or by including %>s in any custom log formats you create.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
mod_alias is loaded in core, there are no logs of physical paths and you can dig physical paths from request URIs.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.