java-rsyslog.yml 1.98 KB
# rsyslog config for java gateway


- hosts: java-nginx
  vars:
    rsyslog_module: nginx
    rsyslog_files:
      - api.yoho.cn_access
      - api.yoho.cn_error
      - nginx_error
  remote_user: root


- hosts: java-gateway
  vars:
    rsyslog_module: gateway
    rsyslog_files:
      - alipay-err
      - alipay
      - alipayNew   
      - alipaywap-err
      - alipaywap
      - applepay
      - applepay-err
      - crfpay-err
      - crfpay
      - debug
      - paymentBD
      - pcpay
      - pcpay-err
      - qqwallet
      - qqwallet-err
      - recommend
      - wechatwap
      - wechatwap-err
      - wechatpay
      - wechatpay-err
      - warn-log
      - unionpay
      - unionpay-err
      - unionmpospay
      - unionmpospay-err

  remote_user: root
  roles:
    - java-rsyslog


# rsyslog config for java order
- hosts: java-order
  vars:
    rsyslog_module: order
    rsyslog_files:
      - add-payment-compute
      - alipay
      - alipay-err
      - applepay-err
      - applepay
      - calc-log
      - calc-query
      - change-refund-handle
      - collect-log
      - crfpay
      - offline-extern
      - offline-shopcart
      - offline-cashpay
      - debug-log
      - wechatpay
      - wechatpay-err
      - warn-log
      - union-push
      - unionpaympos
      - unionpaympos-err
      - unionpay
      - unionpay-err
      - request-timeout
      - qqwallet
      - qqwallet-err
      - pcpay
      - pcpay-err
      - payment-bd
      - pay-confirm
      - order-submit
      - order-split
      - order-process-record
      - order-event
      - order-compensate
      - order-close
      - order-audit
      - external-call

  remote_user: root
  roles:
    - java-rsyslog


# rsyslog config for java promotion
- hosts: java-promotion
  vars:
    rsyslog_module: promotion
    rsyslog_files:
      - acquire-coupons
      - bs-error-coupons
      - debug-log
      - info
      - use-coupons
      - warn-log
      - coupon-match
    
  remote_user: root
  roles:
    - java-rsyslog