Serilog does not write to CentOS 7

Serilog does not write to CentOS 7

why Serilog does not write to CentOS 7?

why Serilog does not write to CentOS 7?

in CentOS 7: /var/log/test is already owned by apache:myuser and it had 777 chmod

codes below works properly on Windows..(/var/log/test/mylog.log changed to D:\Log\mylog.log)

public Startup(IConfiguration configuration)
        {
            Configuration = configuration;


        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .WriteTo.File("/var/log/test/mylog.log", rollingInterval: RollingInterval.Day)
            .CreateLogger();

            Log.Error("HELLO WORLD");
    }


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

C/C++ vs. Rust: A developer’s perspective

In this post, you'll see the difference between Rust and C/C++ in a developer’s perspective

Variable Introduction in C#[Bangla]

LIKE | COMMENT | SHARE | SUBSCRIBE A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C# has a speci...