Skip to content

Commit e9bca46

Browse files
committed
doc: add warning
1 parent 0c52ca4 commit e9bca46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
This module logs unique GraphQl queries for development purposes.
1313

14+
> [!CAUTION]
15+
> If your frontend development teams are unscrupulous this package will generate a PII issue for you. We append full query body data into the logs. This means that developers who fail to use variables in their queries and instead embed them directly in the query will cause your logs to be pull of various kinds of data that you don't want to log (potentially PII and credit card data). This uses the same interface as New Relic (which means New Relic and any other configured loggers) will ALSO get this data. You should only install this in development environments. You have been warned.
16+
17+
1418
## Getting Started
1519

1620
This module is intended to be installed with [composer](https://getcomposer.org/). From the root of your Magento 2 project:
@@ -29,5 +33,5 @@ composer require graycore/magento2-graphql-logger
2933

3034
This module is disabled by default. It can be enabled through system configuration: Services -> Magento Web API -> GraphQl Logger -> Enable Logger.
3135

32-
Logs can be found in `graycore_graphql_log`.
36+
Logs can be found in `graycore_graphql_log` in the database.
3337

0 commit comments

Comments
 (0)