Advance Logs Flashcards

1
Q

Which of the following is a field of a Mendix log message?

Log node

Log line

Log content

Log event
A

Log node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where can you see the log messages for your app?

In the connector

In the debugger

In the console

In the error pane
A

In the console

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between log messages in Studio Pro and log messages in the Developer portal?

The log messages in the Developer Portal have a Source field.

The log messages in the Developer Portal have a Web field.

The log messages in the Developer Portal have a Destination field.

The log messages in the Developer Portal have a Cloud field.
A

The log messages in the Developer Portal have a Source field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where do log messages come from?

They are written by the IEEE log commission to ensure log messages conform to standards.

Mendix Assist generates the log messages for all Mendix applications.

Log messages are written by the person who created the functionality.

The developers at Mendix write all log messages you will encounter in a Mendix application.
A

Log messages are written by the person who created the functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When the log level is set to Error, messages from which other log level will also show up in your logs?

All log levels

Critical

Warning

Debug
A

Critical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which log level is used to warn about unexpected behavior that doesn’t need immediate action?

Error

Info

Debug

Warning
A

Warning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which statement about log nodes is true?

Log nodes are dynamically registered on application startup.

Mendix has a list of predefined log nodes. No other nodes can be defined.

Log nodes are defined in the Developer portal.

Log nodes are added through the Set Log Level screen in Studio Pro.
A

Log nodes are dynamically registered on application startup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following statements about log levels is true?

Messages at the Info level occur during normal operation of your app.

Messages at the Debug level signal a big problem with your application.

Messages at the Warning level need to be resolved immediately.

Messages at the Trace level need your immediate attention.
A

Messages at the Info level occur during normal operation of your app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Who is responsible for writing the error messages that your application generates?

Logs are generated automatically.

The project manager.

The user.

The developer.
A

The developer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which description best describes a Stack Trace?

A list of objects that were in memory at the time the error occurred.

A list of functions that might have the same problem as the error you’re experiencing.

A series of log messages at the log level Trace that are related.

A list of functions that were being called when an error occurred.
A

A list of functions that were being called when an error occurred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following is a field of a Mendix log message?

Log node

Log line

Log content

Log event
A

Log node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where can you see the log messages for your app?

In the connector

In the debugger

In the console

In the error pane
A

In the console

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the difference between log messages in Studio Pro and log messages in the Developer portal?

The log messages in the Developer Portal have a Source field.

The log messages in the Developer Portal have a Web field.

The log messages in the Developer Portal have a Destination field.

The log messages in the Developer Portal have a Cloud field.
A

The log messages in the Developer Portal have a Source field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where do log messages come from?

They are written by the IEEE log commission to ensure log messages conform to standards.

Mendix Assist generates the log messages for all Mendix applications.

Log messages are written by the person who created the functionality.

The developers at Mendix write all log messages you will encounter in a Mendix application.
A

Log messages are written by the person who created the functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following statements about log levels is true?

Messages at the Info level occur during normal operation of your app.

Messages at the Debug level signal a big problem with your application.

Messages at the Warning level need to be resolved immediately.

Messages at the Trace level need your immediate attention.
A

Messages at the Info level occur during normal operation of your app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Who is responsible for writing the error messages that your application generates?

Logs are generated automatically.

The project manager.

The user.

The developer.
A

The developer.

17
Q

Which description best describes a Stack Trace?

A list of objects that were in memory at the time the error occurred.

A list of functions that might have the same problem as the error you’re experiencing.

A series of log messages at the log level Trace that are related.

A list of functions that were being called when an error occurred.
A

A list of functions that were being called when an error occurred.

18
Q

Why should you use an enumeration for your log node names?

You should not, constants are the preferred for log node names.

Log events only accept enumerations as input for the log node names.

You should not, log node names should use a special entity to get their names.

This allows you to standardize the log node name and group all log node names in your app.
A

This allows you to standardize the log node name and group all log node names in your app.

19
Q

How do you ensure that your log node name is available after startup?

Add it to the list of log nodes in Studio Pro.

Add a log activity to a microflow that you call in the After Startup microflow.

You can’t, you will have to wait until one of your log activities is reached before you can see the log event.

All log nodes in your app are added to the list automatically upon startup.
A

Add a log activity to a microflow that you call in the After Startup microflow.

20
Q

You want to add a log event to an error flow on your REST Call to indicate a weather API call failed in your Holiday Request application. Which level of logging should you use?

Warning, you can still continue but someone should look into why the REST call is failing and whether further action is needed.

Error, if the weather is unavailable you can still request vacation but someone should immediately investigate.

Info, this is part of the normal operation of your app, these things happen, nothing to see here.

Critical, you’re unable to request vacation if you do not know the weather at your destination.
A

Warning, you can still continue but someone should look into why the REST call is failing and whether further action is needed.