CIAT-DAPA / subsets_genebank_accessions

Web tool which allows creating subsets of accessions based on indicators
0 stars 1 forks source link

Log Format #39

Closed stevensotelo closed 3 years ago

stevensotelo commented 3 years ago

The logs output should have the following format

TYPE | DATE | DESCRIPTION

TYPE: INFO | ERROR DATE: yyyy-MM-dd HH:mm:ss

Example:

INFO | 2020-12-04 21:46:19 | Getting accessions passport data for crop(s): african yam bean ERROR | 2020-12-04 21:46:29 | Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [api.genesys-pgr.org] Connection timed out after 10002 milliseconds

stevensotelo commented 3 years ago

@khadijaAouzal

stevensotelo commented 3 years ago

@juangarc

@brayan9487

The package name is: futile.logger

stevensotelo commented 3 years ago

@juangarc and @bmora-0110

It is still pending to implement

stevensotelo commented 3 years ago

@juangarc and @bmora-0110

It is still pending to implement

stevensotelo commented 3 years ago

@juangarc and @bmora-0110

https://github.com/CIAT-DAPA/subsets_genebank_accessions/blob/dev/src/indicators_scripts/passport/get_passport_data.R

log_info('passport', message = "Getting accessions passport data for crop(s): %s", crop)

stevensotelo commented 3 years ago

@juangarc

stevensotelo commented 3 years ago

@bmora-0110