MRatWork Forum by Mustafa Ramadhan - [ASK] cara disable error.log nginx

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 23:48:42

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] cara disable error.log nginx

« previous next »

- Print

Pages: 1 [2] Go Down

### Author Topic: [ASK] cara disable error.log nginx (Read 4668 times)

0 Members and 1 Guest are viewing this topic.

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] cara disable error.log nginx

« Reply #15 on: 2015-01-20, 06:06:45 »
custom.~lxcenter.conf itu dicopy ke file /etc/nginx/conf.d/~lxcenter.conf. Jika di /etc/nginx/conf.d/ ada custom.~lxcenter.conf disamping ~lxcenter.conf maka akan bikin kacau!.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] cara disable error.log nginx

« Reply #16 on: 2015-01-20, 06:23:57 »
Quote from: MRatWork on 2015-01-20, 06:06:45

> custom.~lxcenter.conf itu dicopy ke file /etc/nginx/conf.d/~lxcenter.conf. Jika di /etc/nginx/conf.d/ ada custom.~lxcenter.conf disamping ~lxcenter.conf maka akan bikin kacau!.

nah bukannya custom.~lxcenter.conf itu isinya copas dr ~lxcenter.conf, kemudian ada bbrp code yang beda/diedit?
maka dari itu tadi di server ada file custom.~lxcenter.conf dan ~lxcenter.conf di folder /etc/nginx/conf.d/ seperti halnya saya buat file custom.php-fpm_standard.conf, di folder /opt/configs/nginx/conf/globals masih ada juga file php-fpm_standard.conf yang asli...
jd yg di maksud pak mustafa isinya di samakan? saya belum menangkap apa yg di sampaikan...
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] cara disable error.log nginx

« Reply #17 on: 2015-01-20, 06:54:37 »
Begini. Jika anda menjalankan fixweb maka akan diproses defaults.conf.tpl dan domains.conf.tpl. Sedangkan file yang ada di /etc/nginx diproses melalui cleanup. Baik fixweb dan cleanup akan mencari apakah ada file custom dan bila ada akan memproses-nya (jika ada custom.~lxcenter.conf maka akan digunakan/diproses daripada file ~lxcenter.conf). Dalam kasus anda, tidak perlu dilakukan cleanup (dimana salahsatunya akan meng-copy custom.~lxcenter.conf ke /etc/nginx/conf.d/~lxcenter.conf) dan cukup dilakukan secara manual.
Begitu.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] cara disable error.log nginx

« Reply #18 on: 2015-01-20, 09:54:51 »
nahhh jadi dalam file /etc/nginx/conf.d/ ada 2 file kan? custom.~lxcenter.conf dan ~lxcenter.conf?
terus yg di /opt/configs/nginx/etc/conf.d apakah juga sama?
tadi saya pahami dr sini indonesia-users28ask29-cara-disable-error-log-nginxmsg39795.html
harus bikin file custom.~lxcenter.conf di dua foler yaitu /etc/nginx/conf.d/ dan /opt/configs/nginx/etc/conf.d
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] cara disable error.log nginx

« Reply #19 on: 2015-01-20, 12:16:55 »
Di /opt/configs/nginx/etc/conf.d ada custom.~lxcenter.conf dan ~lxenter.conf. Di /etc/nginx/conf.d hanya ada ~lxenter.conf (yang dalam kasus anda adalah copy dari /opt/configs/nginx/etc/conf.d/custom.~lxcenter.conf)
« Last Edit: 2015-01-21, 20:02:16 by MRatWork »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] cara disable error.log nginx

« Reply #20 on: 2015-01-21, 15:39:55 »
Quote from: MRatWork on 2015-01-20, 12:16:55

> Di /opt/configs/nginx/etc/conf.d ada custom.~lxcenter.conf dan ~lxenter.conf. Di /etc/nginx/conf.d hanya ada ~lxenter.conf (yang dalam kasus anda adalah copy dari /opt/configs/nginx/etc/conf.d/custom.~lxcenter.conf)

nahhh kalau ini lebih jelas penjelasanya, tapi anehnya error.log kok masih jalan terus ya pak?
« Last Edit: 2015-01-21, 20:02:32 by MRatWork »
Logged

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] cara disable error.log nginx

« Reply #21 on: 2015-01-24, 19:00:53 »
[SOLVED]
ternyata caranya bukan cuman di kasih tanda # doang
tapi di tambah code access_log off; error_log off;
Code: [Select]

        #access_log /var/log/nginx/access.log main;
        access_log off;
        #error_log /var/log/nginx/error.log warn;
        error_log off;

Logged

- Print

Pages: 1 [2] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] cara disable error.log nginx

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.039 seconds with 17 queries.

Mirror created by MasterkinG32.CoM