On my Shopify app, built using the Remix template, I am trying to set the logging configuration on the exported default shopify object.
const shopify = shopifyApp({
//... previous properties
process.env.NODE_ENV === "development"
? { httpRequests: true, level: LogSeverity.Info }
: { httpRequests: false, level: LogSeverity.Warning, timestamps: true },
//... next properties
});
Yet I am still seeing http request and info logs on the production server. Why is it happening and how can I actually configure it properly?