audit-logging-pepsico


Nameaudit-logging-pepsico JSON
Version 1.0.1 PyPI version JSON
download
home_page
SummaryA logging package which allows users to log in pepsico format. Specially write logs for request and response.
upload_time2023-07-27 14:19:34
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords logging audit pepsico kafka couchbase
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # audit_logging_pepsico

Under construction! Can be Used to write logs in pepsico format.
More Functions will come soon. 

Developed by Jatin Talati

## Examples of How To Use

For plain Logging into Log files
```python
from audit_logging_pepsico.audit_config import Logger

logger = Logger("<Service_Name")
logger.info("Info Message")
logger.error("Error Message")
logger.debug("Debug Message")

# Other Code
```

For Audit Logging into log files
```python
from audit_logging_pepsico.audit_config import AuditLog, Logger

logger = Logger("<Service_Name")
auditlog = AuditLog(logger)

auditlog.audit_log()

# Other Code
```

For Audit Logging into blob
```python
from audit_logging_pepsico.audit_config import AuditLog, Logger

logger = Logger("<Service_Name")
auditlog = AuditLog()
client = auditlog.get_block_blob_client("Connection_String", "Container_Name", "Logs_Blob_name")
auditlog.audit_log(logger, write_to_blob=True, client)

# Other Code
```

Explore the AuditLog class to use other parameters. 

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "audit-logging-pepsico",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "logging,audit,pepsico,kafka,couchbase",
    "author": "",
    "author_email": "Jatin Talati <jatalati@in.ibm.com>",
    "download_url": "https://files.pythonhosted.org/packages/c7/ca/0a4e6ae2e2e1f7bd6b053e3ac8dd73052ace944d29b26ca490c9578b29a2/audit_logging_pepsico-1.0.1.tar.gz",
    "platform": null,
    "description": "# audit_logging_pepsico\n\nUnder construction! Can be Used to write logs in pepsico format.\nMore Functions will come soon. \n\nDeveloped by Jatin Talati\n\n## Examples of How To Use\n\nFor plain Logging into Log files\n```python\nfrom audit_logging_pepsico.audit_config import Logger\n\nlogger = Logger(\"<Service_Name\")\nlogger.info(\"Info Message\")\nlogger.error(\"Error Message\")\nlogger.debug(\"Debug Message\")\n\n# Other Code\n```\n\nFor Audit Logging into log files\n```python\nfrom audit_logging_pepsico.audit_config import AuditLog, Logger\n\nlogger = Logger(\"<Service_Name\")\nauditlog = AuditLog(logger)\n\nauditlog.audit_log()\n\n# Other Code\n```\n\nFor Audit Logging into blob\n```python\nfrom audit_logging_pepsico.audit_config import AuditLog, Logger\n\nlogger = Logger(\"<Service_Name\")\nauditlog = AuditLog()\nclient = auditlog.get_block_blob_client(\"Connection_String\", \"Container_Name\", \"Logs_Blob_name\")\nauditlog.audit_log(logger, write_to_blob=True, client)\n\n# Other Code\n```\n\nExplore the AuditLog class to use other parameters. \n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A logging package which allows users to log in pepsico format. Specially write logs for request and response.",
    "version": "1.0.1",
    "project_urls": null,
    "split_keywords": [
        "logging",
        "audit",
        "pepsico",
        "kafka",
        "couchbase"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a793ec0890cc0a90a30d5505f71ddfaaf9031fa303cbb58596879956d29dbf50",
                "md5": "94259383e8d5bf9527886946ae75a5fa",
                "sha256": "87e3007bd2548a4b0b83c4a91145584e6f216063ec722532719247c3df3c2174"
            },
            "downloads": -1,
            "filename": "audit_logging_pepsico-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "94259383e8d5bf9527886946ae75a5fa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7546,
            "upload_time": "2023-07-27T14:19:32",
            "upload_time_iso_8601": "2023-07-27T14:19:32.448825Z",
            "url": "https://files.pythonhosted.org/packages/a7/93/ec0890cc0a90a30d5505f71ddfaaf9031fa303cbb58596879956d29dbf50/audit_logging_pepsico-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7ca0a4e6ae2e2e1f7bd6b053e3ac8dd73052ace944d29b26ca490c9578b29a2",
                "md5": "fa6308187e64140f75f9aeb66b88ac8d",
                "sha256": "4aecae73b4993009ebf4a53490ed173d7ed9e37d47421456fa8c059caa237fb0"
            },
            "downloads": -1,
            "filename": "audit_logging_pepsico-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fa6308187e64140f75f9aeb66b88ac8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5792,
            "upload_time": "2023-07-27T14:19:34",
            "upload_time_iso_8601": "2023-07-27T14:19:34.366616Z",
            "url": "https://files.pythonhosted.org/packages/c7/ca/0a4e6ae2e2e1f7bd6b053e3ac8dd73052ace944d29b26ca490c9578b29a2/audit_logging_pepsico-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-27 14:19:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "audit-logging-pepsico"
}
        
Elapsed time: 0.10040s