1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-28 02:50:16 +03:00

test-journal-send: no need to set log level

We only use the public api here, so don't include
log.h.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-12-02 22:42:49 -05:00
parent 3f967a4ccf
commit d94819c80e

View File

@ -19,18 +19,17 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include "sd-journal.h"
#include "log.h"
#include "macro.h"
int main(int argc, char *argv[]) {
char huge[4096*1024];
log_set_max_level(LOG_DEBUG);
sd_journal_print(LOG_INFO, "piepapo");
sd_journal_send("MESSAGE=foobar",