mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 14:04:59 -04:00
Fix Synapse git info missing in version strings (#12973)
This commit is contained in:
parent
a7e506ddee
commit
f30bcbd84a
15 changed files with 36 additions and 38 deletions
|
@ -22,7 +22,6 @@ from string import Template
|
|||
from typing import TYPE_CHECKING, Any, Dict, Optional
|
||||
|
||||
import yaml
|
||||
from matrix_common.versionstring import get_distribution_version_string
|
||||
from zope.interface import implementer
|
||||
|
||||
from twisted.logger import (
|
||||
|
@ -37,6 +36,7 @@ from synapse.logging.context import LoggingContextFilter
|
|||
from synapse.logging.filter import MetadataFilter
|
||||
from synapse.types import JsonDict
|
||||
|
||||
from ..util import SYNAPSE_VERSION
|
||||
from ._base import Config, ConfigError
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
@ -349,7 +349,7 @@ def setup_logging(
|
|||
logging.warning(
|
||||
"Server %s version %s",
|
||||
sys.argv[0],
|
||||
get_distribution_version_string("matrix-synapse"),
|
||||
SYNAPSE_VERSION,
|
||||
)
|
||||
logging.info("Server hostname: %s", config.server.server_name)
|
||||
logging.info("Instance name: %s", hs.get_instance_name())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue