i am facing an issue with Drupal site 7.56 which has file logging using flog it function. The application is unable to write to /var/log/test

All the required permissions applied on /var/log/test, but still log file not getting created. Drupal is installed on Linux server.

Any help much appreciated.