Which two usages of ccLog should be avoided in Salesforce B2B Commerce? (2 answers)
Suggested Answer: A, B
Get Premium Salesforce Accredited B2B Commerce Developer Professional (AP-202) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
SH
Sharee
12 months ago
I’m surprised that logging an order object is discouraged!
GE
Gearldine
12 months ago
B is definitely a no-go, too vague for a warning.
AN
Antonio
12 months ago
Wait, why is C bad? It seems useful to log order lists.
LE
Lettie
1 year ago
Totally agree with A, it’s a bad practice.
TR
Tracey
1 year ago
I think A and C should be avoided. Too much info in logs!
KI
Kirk
1 year ago
I can't recall the specifics, but I think we were told to be cautious with WARN logs too. B might be risky if it exposes too much information.
ER
Erasmo
1 year ago
I'm not entirely sure, but I think logging sensitive data like order details could be a bad practice. That might make D a candidate too.
KA
Karina
1 year ago
I remember we discussed avoiding logging method invocations because it can lead to performance issues. So, maybe A is one to avoid?
FR
Freeman
1 year ago
I feel like we had a practice question about logging levels, and I think DEBUG logs should be avoided in production. So, C could be a good choice.
EL
Elsa
1 year ago
Okay, I think I've got this. The key is to use a route deployment with Automap configured and X-Forwarded-For inserted in the HTTP headers. That way, the web servers can see the actual client IP addresses.
CH
Chauncey
1 year ago
Hmm, I'm a bit confused. I'm not sure what the "supplier's perspective model" is referring to. I'll need to think this through carefully.