<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-logging/phosphor-rsyslog-config, branch master</title>
<subtitle>OpenBMC Phosphor logging library sources (not useful for felling trees)</subtitle>
<id>https://git.raptorcs.com/git/phosphor-logging/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-logging/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/'/>
<updated>2019-05-27T05:25:06+00:00</updated>
<entry>
<title>rsyslod: Change disable action</title>
<updated>2019-05-27T05:25:06+00:00</updated>
<author>
<name>Santosh Puranik</name>
<email>santosh.puranik@in.ibm.com</email>
</author>
<published>2019-05-22T10:25:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=0a0b5ea558adeb109a3ac52e55ad720e188adb90'/>
<id>urn:sha1:0a0b5ea558adeb109a3ac52e55ad720e188adb90</id>
<content type='text'>
This commit changes the way remote logging is disabled.
Prior to this, we would create/delete the
RSYSLOG_SERVER_CONFIG_FILE to enable/disable remote logging.

Deleting the file would cause systemd to spin while it tried
to trigger the syslog service via socket activation. So this
commit reverts commits 40a7406097c0b5b0670c5987f6fe8c902d65562d
and e165ea956c5557c2b470869d252c80744227b00f and then:

To disable remote logging, we now simply ask that rsyslog
ignore all incoming messages. This is done by using a special
'~' rule for all messages.

Tested:
-- Verified that systemd no longer spins while trying to
activate rsyslog with default config.
-- Verified that setting a remote logging server over the
REST API still works.

Signed-off-by: Santosh Puranik &lt;santosh.puranik@in.ibm.com&gt;
Change-Id: Ife217a84395aaf32b775b7a84f85fc6310df3e7c
</content>
</entry>
<entry>
<title>build: install into bin instead of sbin</title>
<updated>2019-04-04T18:40:07+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-03-28T20:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=e731044c79968eb867368ef9064c34c98c50872f'/>
<id>urn:sha1:e731044c79968eb867368ef9064c34c98c50872f</id>
<content type='text'>
Installs into bin instead of sbin per guidelines

Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Change-Id: I382022b4f09374132cf07232177a5145c425f758
</content>
</entry>
<entry>
<title>utils: restart: Fix restart bug</title>
<updated>2019-04-03T18:16:19+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-04-03T18:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=e5e3a9ccd0c3d13f63e9e1a730bd3a8cb66b48dd'/>
<id>urn:sha1:e5e3a9ccd0c3d13f63e9e1a730bd3a8cb66b48dd</id>
<content type='text'>
bc89289f48ce5e1c8e5c66e657a176a0cd881d39 introduced a regression in the
type signature of the RestartUnit call. The "replace" argument was
accidentally deleted.

Change-Id: I44313997b8b72b7163ad8b43ed2b45a01cb54e44
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>utils: restart: Always restart service</title>
<updated>2019-04-01T22:53:52+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-04-01T22:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=bc89289f48ce5e1c8e5c66e657a176a0cd881d39'/>
<id>urn:sha1:bc89289f48ce5e1c8e5c66e657a176a0cd881d39</id>
<content type='text'>
If the service has hit its reset limit in systemd, calling RestartUnit
on the service will do nothing. This ensures that the service will try
and restart at least once after a configuration change, regardless of
whether or not it has failed in the past.

Change-Id: I28962fc4ef9da641d1d19b8e09450e40d76e9c27
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>Fix regression with e165ea9</title>
<updated>2019-01-14T10:57:23+00:00</updated>
<author>
<name>Deepak Kodihalli</name>
<email>dkodihal@in.ibm.com</email>
</author>
<published>2019-01-14T09:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=40a7406097c0b5b0670c5987f6fe8c902d65562d'/>
<id>urn:sha1:40a7406097c0b5b0670c5987f6fe8c902d65562d</id>
<content type='text'>
Commit e165ea9 introduces creation of the remote logging config file on
demand, but it presumed the directory housing this config file
pre-exists. That was not the case.

Change-Id: I8974ce798de5d2747bcc4a67209f4d2c8081cfe6
Signed-off-by: Deepak Kodihalli &lt;dkodihal@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>rsyslogd: don't start without actions</title>
<updated>2019-01-11T12:53:33+00:00</updated>
<author>
<name>Deepak Kodihalli</name>
<email>dkodihal@in.ibm.com</email>
</author>
<published>2019-01-11T09:47:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=e165ea956c5557c2b470869d252c80744227b00f'/>
<id>urn:sha1:e165ea956c5557c2b470869d252c80744227b00f</id>
<content type='text'>
Rsyslog is currently used only for remote logging. The daemon would run
though (started by systemd) even when remote logging has not been
configured. In other words, it would run without any actions.

With Yocto 2.6, rsyslogd won't run without any actions. Hence, rsyslogd
is now started only on the condition that the remote logging config
file is present.

Change-Id: Iae11d6912e60765ecb774b663d44b4e3c6f381a3
Signed-off-by: Deepak Kodihalli &lt;dkodihal@in.ibm.com&gt;
</content>
</entry>
<entry>
<title>add sdjournal interface to inject tests</title>
<updated>2018-11-11T16:21:26+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-08-29T18:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=59a6b1f27e83066baa6f3711c88d6a3b9a5c4d49'/>
<id>urn:sha1:59a6b1f27e83066baa6f3711c88d6a3b9a5c4d49</id>
<content type='text'>
The goal of the tests is not to test phosphor-logging, but rather allow
code to call through phosphor-logging/log&lt;&gt; during a test.

Change-Id: Id8c84ded473decc7f9f0be268116083093f86e54
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>minor cleanup, std namespacing</title>
<updated>2018-11-02T01:52:15+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-11-02T01:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=30047bf9647215951ba5dfe21ceb3e58a1b405a4'/>
<id>urn:sha1:30047bf9647215951ba5dfe21ceb3e58a1b405a4</id>
<content type='text'>
Added std namespace to places where there is a cpp version.

Change-Id: I60a05a7c9cdcd79cfffc3c4968005fcbe34acf81
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>build: phosphor-rsyslog-config: drop invalid library</title>
<updated>2018-10-31T16:24:20+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-10-31T16:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=e790759dc44f64e21defcd5718d842cc3ff89170'/>
<id>urn:sha1:e790759dc44f64e21defcd5718d842cc3ff89170</id>
<content type='text'>
The line in the makefile for including the phosphor-logging isn't
populated during build in neither the CI nor the obmc-phosphor-image
build.

"phosphor_rsyslog_conf-server-conf.o  -lsdbusplus -lsystemd
-lphosphor_dbus"

Tested: Verified CI still builds both.
Tested: Verified the build line from the compile log doesn't populate
that line with any value.
Change-Id: I4ec8c44d6a717f011118826149e64d2dd2c56d52
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
<entry>
<title>add .clang-format</title>
<updated>2018-10-27T01:16:27+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-10-27T01:14:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-logging/commit/?id=f18bf836d206b1bc5b4fd849127a2e706eddf0aa'/>
<id>urn:sha1:f18bf836d206b1bc5b4fd849127a2e706eddf0aa</id>
<content type='text'>
Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
</feed>
