Sync 1C repository to git. Written on golang
docker run -v $(pwd):/tmp/dist demoncat/oneget \
--user $ONEC_USERNAME \
--pwd $ONEC_PASSWORD \
--path /tmp/dist/ \
--nicks platform83 \
--version-filter 8.3.16.1876 \
--distrib-filter 'deb64.tar.gz$'
Создать рядом с приложением файл logos.yaml
с содержимым
appenders:
console:
- name: CONSOLE
target: stdout
encoder:
console:
rolling_file:
- name: FILE
file_name: ./logs/oneget.log
max_size: 100
max_age: 10
encoder:
json:
loggers:
root:
level: info
appender_refs:
- CONSOLE
logger:
- name: "github.com/v8platform/oneget"
appender_refs:
- CONSOLE
- FILE
level: debug
export LOGOS_CONFIG="appenders.rolling_file.0.name=FILE;
appenders.rolling_file.0.file_name=./logs/oneget.log;
appenders.rolling_file.0.max_size=100;
appenders.rolling_file.0.encoder.json;
loggers.logger.0.level=debug;
loggers.logger.0.name=github.com/v8platform/oneget;
loggers.logger.0.appender_refs.0=CONSOLE;
loggers.logger.0.appender_refs.1=FILE;"