Clean up logging

This commit is contained in:
Reinier van der Leer
2023-08-22 07:29:56 +02:00
parent 3fe2246468
commit 4e761b49f3
49 changed files with 611 additions and 488 deletions

View File

@@ -3,6 +3,7 @@
COMMAND_CATEGORY = "execute_code"
COMMAND_CATEGORY_TITLE = "Execute Code"
import logging
import os
import subprocess
from pathlib import Path
@@ -21,10 +22,11 @@ from autogpt.agents.utils.exceptions import (
)
from autogpt.command_decorator import command
from autogpt.config import Config
from autogpt.logs import logger
from .decorators import sanitize_path_arg
logger = logging.getLogger(__name__)
ALLOWLIST_CONTROL = "allowlist"
DENYLIST_CONTROL = "denylist"