GuidesRecipesAPI ReferenceChangelogDiscussions
Log In

modzy-core logs

View modzy-core service logs

Prerequisite

This guide and core command assumes that Modzy Core has been successfully installed, and is running as a systemd service, and that /opt/modzy/bin has been added to your $PATH. See ./modzy-core installfor more information

Usage

The logs command will display the logs for the modzy-core systemd service running in the background. It is an alias to journalctl -u modzy-core

modzy-core logs

The output is similar to the following:

-- Logs begin at Thu 2023-09-14 19:09:49 UTC, end at Tue 2023-11-14 21:17:02 UTC. --
Oct 24 15:17:25 mdz-sc-up-board-1 systemd[1]: Starting Service for Modzy Core...
Oct 24 15:17:25 mdz-sc-up-board-1 systemd[1]: Started Service for Modzy Core.
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.695Z        INFO        modzy/registration.go:304        looking in: /opt/modzy/core/data/conf
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.702Z        INFO        nats/server.go:30        starting internal NATS server...
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.828Z        INFO        cmd/server.go:178        migrating database
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.904Z        INFO        apiserver/server.go:75        Modzy Core server is starting...
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.907Z        INFO        apiserver/server.go:147        Server is starting...
Oct 24 15:17:25 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:25.907Z        INFO        apiserver/server.go:147        Server is listening at :55000
Oct 24 15:17:30 mdz-sc-up-board-1 modzy-core[1298]: 2023-10-24T15:17:30.809Z        INFO        runner/runner.go:241        Configuring Core
Oct 24 15:22:11 mdz-sc-up-board-1 modzy-core[1298]: ✓ Reconciling Models
Oct 24 15:22:11 mdz-sc-up-board-1 modzy-core[1298]: ✓   Pulling k8cjaqdcgz.1.0.0 model image
Oct 24 15:22:11 mdz-sc-up-board-1 modzy-core[1298]: ✓   Model k8cjaqdcgz.1.0.0 now live and running

Flags

-f, --follow follows recent logs

-h, --help help for completion