Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

graphql.ini [GraphQLEvents]

The settings of [GraphQLEvents] in graphql.ini: JournalMaxBytes, JournalKeep

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/graphql/GraphQLEvents.md

On this page

graphql.ini [GraphQLEvents]

The block [GraphQLEvents] of settings/graphql.ini, with 2 setting(s).

Never edit settings/graphql.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/graphql.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/graphql.ini.append.php for one siteaccess,
  • extension/<extension>/settings/graphql.ini.append.php in an extension (read when the extension is active).

JournalMaxBytes

The event journal: what happens to content (publish, update, trash, delete, move, hide, reveal, and the GraphQL
mutations), one JSON line per event in var/<site>/graphql/events/, written at the end of the request that changed
it, and read by the webhooks and the subscriptions. Written only while the API is switched on and somebody listens
(Subscriptions=enabled, or a webhook in [GraphQLWebhooks] EndpointList[]). A file grows to JournalMaxBytes (bytes,
or with k, M, G), then the next one starts; the newest JournalKeep files stay. A subscription or a webhook further
behind than the files kept goes on from the oldest one.

Default: 5M.

<?php /* #?ini charset="utf-8"?
# settings/override/graphql.ini.append.php
[GraphQLEvents]
JournalMaxBytes=5M
*/ ?>

JournalKeep

Default: 3.

<?php /* #?ini charset="utf-8"?
# settings/override/graphql.ini.append.php
[GraphQLEvents]
JournalKeep=3
*/ ?>

Generated by ./console exp:help:examples from settings/graphql.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x