Skip to content
86% off$349 $48.86code BF2026

Docs

Glowmoth docs25 pages

Glowmoth Activity Log: 7-Day Chart, History and Storage

How Glowmoth's activity log works: what the 7-day chart counts, how overlapping reasons are credited, where history is stored, and how to clear it.

Updated 4 min read

On this page

This page explains Glowmoth's activity log, found in the Activity tab of Glowmoth Settings. It covers the 7-day chart of time your Mac was kept awake, the event history, where that data is stored on your Mac, and how to clear it.

To open the activity log, click Settings… (⌘,) in the panel footer or the right-click menu, then choose the Activity tab. The tab has no settings to change. It only shows what Glowmoth did.

Glowmoth Settings, Activity tab: Last 7 Days stacked bars by reason with a legend, and the History list of starts and ends
The Activity tab shows what kept your Mac awake this week.

What the Last 7 Days chart shows

Last 7 Days is a stacked bar chart with one bar per day. Each bar shows how long Glowmoth kept your Mac awake that day. The bar is split by the kind of reason that held the Mac:

Chart categoryWhat counts toward it
SessionsYour own keep-awake sessions (for a time, until a time, or indefinitely)
AgentsCoding agents detected by agent-aware mode
Command LineReasons from the glowmoth command-line tool, such as leases
ProcessesProcess reasons, from the Processes list or Keep Awake While ▸ A Process Runs…
AppsApp reasons, from the Apps list or Keep Awake While ▸ An App Is Running
FoldersWatched folders and This Download Finishes
RulesAutomatic rules, including scheduled runs

The header above the chart shows the total, written like "3h 20m awake". If Glowmoth kept nothing awake in the last 7 days, the chart says "No time kept awake".

The chart only counts time that Glowmoth itself held the Mac awake. Other apps that keep your Mac awake don't appear here, such as a browser playing video or a running caffeinate. To see those, use the Also Keeping This Mac Awake list in the panel. The page See what's keeping your Mac awake explains that list.

How time is credited when several reasons overlap

Your Mac is often held by more than one reason at once. For example, you might start a 1-hour session while Xcode is in your Apps list and running. Glowmoth doesn't count that hour twice. Each stretch of time goes to one category only, chosen by this priority order:

  1. Sessions
  2. Agents
  3. Command Line
  4. Processes
  5. Apps
  6. Folders
  7. Rules

In the example, the whole hour goes to Sessions, because a session ranks above an app. If Xcode keeps running after your session ends, the time from then on goes to Apps.

This has two practical effects:

  • The same minute is never counted twice. The total doesn't grow because several reasons were active together.
  • Lower-priority categories can look smaller than you expect. Suppose a rule was true all afternoon, but you also ran sessions or an agent during that time. The rule may show little time in the chart. It still held the Mac. It just wasn't credited for the overlap.

What the History list records

Under the chart, History lists individual events, newest first, each with its day and time. Entries look like this:

  • "Started: Session for 1 hour"
  • "Ended: …"
  • "Paused: low battery"
  • "Resumed"

Starts and ends of reasons appear in the list. Safety pauses, such as a low-battery pause, appear there too, along with the resume that follows.

To see older events, click Show Earlier at the bottom of the list. Each click loads 200 more events. If nothing has been recorded yet, the list shows "No activity yet".

Where the activity log is stored and for how long

Glowmoth stores the log as JSON Lines files, one file per month:

text
~/Library/Application Support/Glowmoth/Activity/activity-YYYY-MM.jsonl

To open that folder in Finder, run this in Terminal:

bash
open ~/Library/Application\ Support/Glowmoth/Activity

This command only opens the folder. It doesn't change any files or settings.

Glowmoth limits how much history it keeps:

  • 30 days. Older events are removed. The chart covers 7 days, but History can go back up to 30 days.
  • 5,000 events at most. On a busy Mac with many short app, folder or agent reasons, this cap can be reached before 30 days are up.

This data never leaves your Mac:

  • The log stays local. Glowmoth's own code makes no network calls, and the log is never uploaded.
  • There's no export button. To keep a record for longer than 30 days, copy the .jsonl files from the folder above before they are removed.
  • History doesn't move with your settings. The settings file you create with Export… in Settings ▸ Advanced doesn't include activity history. A new Mac starts with an empty log.

Clear the history

  1. Open Settings… and choose the Activity tab.
  2. Click Clear History….
  3. In the "Clear all activity history?" dialog, click Clear History.

The chart and the list start again from that moment. If you might want the old data later, copy the .jsonl files before you clear the history.

If the chart or history looks wrong

  • The chart says "No time kept awake" but your Mac stayed awake. Something other than Glowmoth probably held it. Check Also Keeping This Mac Awake in the panel's Show More section.
  • A category is missing or looks small. Overlapping time goes to the highest-priority reason, as described above. For example, if a rule or folder was active during a session, that time is credited to Sessions.
  • Glowmoth kept nothing awake at all. Without a valid license or trial, Glowmoth holds no power assertion, so there's nothing to count. In that case the panel shows "License needed".
  • History stops at a certain date. Glowmoth removes events older than 30 days and keeps at most 5,000 events.

Every app.
One purchase.