Problem/Motivation
The restfullogger module has a dependency on the core Database Logging module. However it should not care, which logger implementation is being used. The restfullogger just gets its logger channel from the logger factory service. Currently, there is no way to use this module with just the core Syslog module.
Proposed resolution
Remove the dependency on the Database Logging module.
Issue fork restfullogger-3471039
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lkacenjaI made sure the module works with neither core logger backend installed. With a fresh D10 installation, I installed restfullogger only. In the console I ran:
This worked as expected. The log message succeeds and fires the content off into space. I then installed and configured syslog and the same two steps resulted in the logs being sent to the designated log file.
Comment #4
gregglesMakes sense and LGTM. Thanks!
Comment #5
rymcveighThis looks good to me as well. The restfullogger.info.yml fail is not related.
Unable to parse modules/custom/restfullogger-3471039/restfullogger.info.yml Unexpected characters near " || ^11" at line 4 (near "core_version_requirement: ">=8" || ^11").Comment #6
gregglesThis MR could also fix the cspell soft-failure by adding a _CSPELL_WORDS line with something like:
This would need the
variables:section to be uncommented or added as well.Comment #7
rymcveighI went ahead and added the
_CSPELL_WORDSvariable in this commit.Comment #8
gregglesExcellent. Looks like there's a big fail now, but maybe that's more of an infrastructure problem?
Comment #9
rymcveighI adjusted the file using the new version of the gitlab-ci template and it did the job. I'm going to go ahead and merge these changes.
Comment #11
rymcveighComment #12
gregglesNice catch! I was confused by the fails yesterday. Glad you figured that out.
And with these changes the pipelines are all so very happy https://git.drupalcode.org/project/restfullogger/-/pipelines/268656