singnet / snet-daemon

Service Daemon exposes an AI application as an API that is accessible through the SingularityNET Network. It handles all interaction with the blockchain for authorization and payment using AGI tokens and passes through API calls to the AI application.
MIT License
46 stars 49 forks source link

New logger, free calls for certain users, update tests #586

Closed semyon-dev closed 3 months ago

semyon-dev commented 3 months ago
"log": {
"level": "info",
"timezone": "UTC",
"formatter": {
      "type": "text",
      "timestamp_format": "2006-01-02T15:04:05.999Z07:00"
    },
    "output": {
      "type": ["file", "stdout"],
      "file_pattern": "./snet-daemon.%Y%m%d.log",
      "current_link": "./snet-daemon.log",
      "max_size_in_mb": 10,
      "max_age_in_days": 7,
      "rotation_count": 0
    },
    "hooks": []
  }