I'm currently performing website redirection from non-www to www+https, but unfortunately, my redirection does not work and I've tried to create rewrite log but it ends up my website down. After further check, I found here with below command:
tail -f error_log|fgrep '[rewrite:'
But command above seems to be for UNIX/Linux, my website currently setup under Windows Server. Is there any way I can run this in Windows server? Or is there any other way I can set up custom logs just to show redirection error/issue?