{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by apigeeuser · Apr 06, 2018 at 03:44 PM · 301 Views nginxnginx edge-router

Nginx log rotation

Hello

I did see a related post but no answer as to how to configure 'daily' in the router.properties.

https://community.apigee.com/questions/49931/how-to-configure-log-rotation-on-apigee-edge-compo.html

I see these lines in /opt/apigee/edge-router/token/default.properties but nothing for the frequency of log rotation.

## Begin apigee-nginx-logrotate.conf ##

conf_apigee-nginx-logrotate_logs=/var/log/apigee/nginx/*log

conf_apigee-nginx-logrotate_rotate=720

conf_apigee-nginx-logrotate_pidfile=/opt/apigee/nginx/logs/nginx.pid

conf_apigee-nginx-logrotate_compress=compress

conf_apigee-nginx-logrotate_compress_type=delaycompress

conf_apigee-nginx-s3-uploader=${APIGEE_ROOT}/edge-gateway/bin/push_to_s3.sh

conf_apigee-nginx-issue-sigusr1=${APIGEE_ROOT}/edge-gateway/bin/issue_sigusr1.sh

conf_apigee-nginx_s3-bucket=glacierbucket-us-west-e2e/loadbalancer/accesslogs/gateway

## End apigee-nginx-logrotate.conf ##

Thanks

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

0 Answers

  • Sort: 

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

ELB configuration (nginx conf) to communicate with a APIGEE single node server 1 Answer

How to disable nginx logs in Private Cloud version 16.01 or higher ? 2 Answers

External Nginx in front of Apigee router to expose external DNS 2 Answers

Need ideas to debug 502 errors 3 Answers

Retry connections with nginx 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges